aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2007-05-29 09:47:04 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-07-09 03:22:56 -0400
commit9dd592d70be0db6fa8e4e19d7642cfaa424b200e (patch)
tree6694d26986949a0bc8aac3895c7b61f94af97452 /fs/dlm/dlm_internal.h
parent8b4021fa436f7c76a2299e6d85d4d4a619724e9a (diff)
[DLM] dumping master locks
Add a new debugfs file that dumps a compact list of mastered locks. This will be used by a userland daemon to collect state for deadlock detection. Also, for the existing function that prints all lock state, lock the rsb before going through the lock lists since they can be changing in the course of normal dlm activity. 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 a006fa59e7da..f2c85493c0c6 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -470,6 +470,7 @@ struct dlm_ls {
470 470
471 struct dentry *ls_debug_rsb_dentry; /* debugfs */ 471 struct dentry *ls_debug_rsb_dentry; /* debugfs */
472 struct dentry *ls_debug_waiters_dentry; /* debugfs */ 472 struct dentry *ls_debug_waiters_dentry; /* debugfs */
473 struct dentry *ls_debug_master_dentry; /* debugfs */
473 474
474 wait_queue_head_t ls_uevent_wait; /* user part of join/leave */ 475 wait_queue_head_t ls_uevent_wait; /* user part of join/leave */
475 int ls_uevent_result; 476 int ls_uevent_result;