ocfs2: Expose the file system state via debugfs
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 17 Dec 2008 22:17:43 +0000 (14:17 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 3 Apr 2009 18:39:15 +0000 (11:39 -0700)
commit50397507e856455b3f5cb3d5c7c482209f9e46a0
tree537d1aa6aec9108aa080a2b58f68fac767420416
parent96a6c64b5354b804b3ccfd1b31306565a01ebcb1
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>
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c