diff options
author | David Teigland <teigland@redhat.com> | 2006-08-08 18:08:42 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-09 09:46:38 -0400 |
commit | faa0f2677287a2e7ae796db8b73618ec43715e94 (patch) | |
tree | ed3d0477991710785b7c0adc9db26009d1614bfd /fs/dlm/rcom.c | |
parent | 06442440bc442ef79cb060c6e786eaeeabd9044b (diff) |
[DLM] show nodeid for recovery message
To aid debugging, it's useful to be able to see what nodeid the dlm is
waiting on for a message reply.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/rcom.c')
-rw-r--r-- | fs/dlm/rcom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c index 55fbe313340e..5573d8590e58 100644 --- a/fs/dlm/rcom.c +++ b/fs/dlm/rcom.c | |||
@@ -97,6 +97,7 @@ int dlm_rcom_status(struct dlm_ls *ls, int nodeid) | |||
97 | int error = 0; | 97 | int error = 0; |
98 | 98 | ||
99 | memset(ls->ls_recover_buf, 0, dlm_config.buffer_size); | 99 | memset(ls->ls_recover_buf, 0, dlm_config.buffer_size); |
100 | ls->ls_recover_nodeid = nodeid; | ||
100 | 101 | ||
101 | if (nodeid == dlm_our_nodeid()) { | 102 | if (nodeid == dlm_our_nodeid()) { |
102 | rc = (struct dlm_rcom *) ls->ls_recover_buf; | 103 | rc = (struct dlm_rcom *) ls->ls_recover_buf; |
@@ -159,6 +160,7 @@ int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, int last_len) | |||
159 | int error = 0, len = sizeof(struct dlm_rcom); | 160 | int error = 0, len = sizeof(struct dlm_rcom); |
160 | 161 | ||
161 | memset(ls->ls_recover_buf, 0, dlm_config.buffer_size); | 162 | memset(ls->ls_recover_buf, 0, dlm_config.buffer_size); |
163 | ls->ls_recover_nodeid = nodeid; | ||
162 | 164 | ||
163 | if (nodeid == dlm_our_nodeid()) { | 165 | if (nodeid == dlm_our_nodeid()) { |
164 | dlm_copy_master_names(ls, last_name, last_len, | 166 | dlm_copy_master_names(ls, last_name, last_len, |