summaryrefslogtreecommitdiff
path: root/fs/ocfs2/dlm/dlmdebug.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2008-03-10 15:16:27 -0700
committerMark Fasheh <mfasheh@suse.com>2008-04-18 08:56:09 -0700
commit7209300a9b987e017cae2ef9d7ef55b0fdd71869 (patch)
tree928002c58079dc53846248c7c91c293432dfdf8c /fs/ocfs2/dlm/dlmdebug.h
parentd0129aceaecc2b1f5171b8e8036eb469b6e0fe81 (diff)
ocfs2/dlm: Dumps the purgelist into a debugfs file
This patch dumps all the lockres' on the purgelist it can fit in one page into a debugfs file. Useful for debugging. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmdebug.h')
-rw-r--r--fs/ocfs2/dlm/dlmdebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmdebug.h b/fs/ocfs2/dlm/dlmdebug.h
index cbc69f295782..8857743e8f32 100644
--- a/fs/ocfs2/dlm/dlmdebug.h
+++ b/fs/ocfs2/dlm/dlmdebug.h
@@ -32,6 +32,7 @@ struct dlm_debug_ctxt {
struct dentry *debug_state_dentry;
struct dentry *debug_lockres_dentry;
struct dentry *debug_mle_dentry;
+ struct dentry *debug_purgelist_dentry;
};
struct debug_buffer {