summaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland2006-08-09 00:08:42 +0200
committerSteven Whitehouse2006-08-09 15:46:38 +0200
commitfaa0f2677287a2e7ae796db8b73618ec43715e94 (patch)
treeed3d0477991710785b7c0adc9db26009d1614bfd /fs/dlm/dlm_internal.h
parent[DLM] break from snprintf loop (diff)
downloadkernel-qcow2-linux-faa0f2677287a2e7ae796db8b73618ec43715e94.tar.gz
kernel-qcow2-linux-faa0f2677287a2e7ae796db8b73618ec43715e94.tar.xz
kernel-qcow2-linux-faa0f2677287a2e7ae796db8b73618ec43715e94.zip
[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/dlm_internal.h')
-rw-r--r--fs/dlm/dlm_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index 7c3c2d27c012..ec7e401133fd 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -467,6 +467,7 @@ struct dlm_ls {
struct list_head ls_requestqueue;/* queue remote requests */
struct mutex ls_requestqueue_mutex;
char *ls_recover_buf;
+ int ls_recover_nodeid; /* for debugging */
struct list_head ls_recover_list;
spinlock_t ls_recover_list_lock;
int ls_recover_list_count;