diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2008-05-13 13:45:14 -0700 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-05-27 15:13:48 -0700 |
commit | 58e9c04a52abe2c4f0995be71117d8e9dbc01a58 (patch) | |
tree | 4d097e608c26d40699d29371f094ae46fd41d79b /fs/Kconfig | |
parent | e490517a039a99d692cb3a5561941b0a5f576172 (diff) |
[PATCH 1/2] ocfs2: Add CONFIG_OCFS2_FS_STATS config option
This patch adds config option CONFIG_OCFS2_FS_STATS to allow building
the fs with instrumentation enabled. An upcoming patch will provide
support to instrument cluster locking, which is a crucial overhead in
a cluster file system. This config option allows users to avoid the cpu
and memory overhead that is involved in gathering such statistics.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index cf12c403b8c7..c264610ca27c 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -470,6 +470,14 @@ config OCFS2_FS_USERSPACE_CLUSTER It is safe to say Y, as the clustering method is run-time selectable. +config OCFS2_FS_STATS + bool "OCFS2 statistics" + depends on OCFS2_FS + default y + help + This option allows some fs statistics to be captured. Enabling + this option may increase the memory consumption. + config OCFS2_DEBUG_MASKLOG bool "OCFS2 logging support" depends on OCFS2_FS |