diff options
author | David Teigland <teigland@redhat.com> | 2007-05-29 08:47:04 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 08:22:56 +0100 |
commit | 9dd592d70be0db6fa8e4e19d7642cfaa424b200e (patch) | |
tree | 6694d26986949a0bc8aac3895c7b61f94af97452 /fs/dlm/dlm_internal.h | |
parent | 8b4021fa436f7c76a2299e6d85d4d4a619724e9a (diff) | |
download | linux-9dd592d70be0db6fa8e4e19d7642cfaa424b200e.tar.gz linux-9dd592d70be0db6fa8e4e19d7642cfaa424b200e.tar.bz2 linux-9dd592d70be0db6fa8e4e19d7642cfaa424b200e.zip |
[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.h | 1 |
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 { struct dentry *ls_debug_rsb_dentry; /* debugfs */ struct dentry *ls_debug_waiters_dentry; /* debugfs */ + struct dentry *ls_debug_master_dentry; /* debugfs */ wait_queue_head_t ls_uevent_wait; /* user part of join/leave */ int ls_uevent_result; |