summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorSunil Mushran2008-12-17 23:17:43 +0100
committerMark Fasheh2009-04-03 20:39:15 +0200
commit50397507e856455b3f5cb3d5c7c482209f9e46a0 (patch)
tree537d1aa6aec9108aa080a2b58f68fac767420416 /fs/ocfs2/ocfs2.h
parentocfs2: Move struct recovery_map to a header file (diff)
downloadkernel-qcow2-linux-50397507e856455b3f5cb3d5c7c482209f9e46a0.tar.gz
kernel-qcow2-linux-50397507e856455b3f5cb3d5c7c482209f9e46a0.tar.xz
kernel-qcow2-linux-50397507e856455b3f5cb3d5c7c482209f9e46a0.zip
ocfs2: Expose the file system state via debugfs
This patch creates a per mount debugfs file, fs_state, which exposes information like, cluster stack in use, states of the downconvert, recovery and commit threads, number of journal txns, some allocation stats, list of all slots, etc. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r--fs/ocfs2/ocfs2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index 946d3c34b90b..18d8542a615e 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -308,6 +308,7 @@ struct ocfs2_super
struct ocfs2_dlm_debug *osb_dlm_debug;
struct dentry *osb_debug_root;
+ struct dentry *osb_ctxt;
wait_queue_head_t recovery_event;