summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmdebug.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2008-03-10 23:16:27 +0100
committerMark Fasheh <mfasheh@suse.com>2008-04-18 17:56:09 +0200
commit7209300a9b987e017cae2ef9d7ef55b0fdd71869 (patch)
tree928002c58079dc53846248c7c91c293432dfdf8c /fs/ocfs2/dlm/dlmdebug.h
parentocfs2/dlm: Dumps the mles into a debugfs file (diff)
downloadlinux-7209300a9b987e017cae2ef9d7ef55b0fdd71869.tar.xz
linux-7209300a9b987e017cae2ef9d7ef55b0fdd71869.zip
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 '')
-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 {