diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2008-05-13 16:45:14 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-07-14 16:57:14 -0400 |
commit | ce7231e92dac381f6e4f9cfdfdf9e0ea055223ad (patch) | |
tree | 5bb7bd812dd26458b8d0e7fa68b2347c7cea9fac | |
parent | bce7f793daec3e65ec5c5705d2457b81fe7b5725 (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>
-rw-r--r-- | fs/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 2694648cbd1b..9c07a4f49e67 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -470,6 +470,14 @@ config OCFS2_FS_USERSPACE_CLUSTER | |||
470 | It is safe to say Y, as the clustering method is run-time | 470 | It is safe to say Y, as the clustering method is run-time |
471 | selectable. | 471 | selectable. |
472 | 472 | ||
473 | config OCFS2_FS_STATS | ||
474 | bool "OCFS2 statistics" | ||
475 | depends on OCFS2_FS | ||
476 | default y | ||
477 | help | ||
478 | This option allows some fs statistics to be captured. Enabling | ||
479 | this option may increase the memory consumption. | ||
480 | |||
473 | config OCFS2_DEBUG_MASKLOG | 481 | config OCFS2_DEBUG_MASKLOG |
474 | bool "OCFS2 logging support" | 482 | bool "OCFS2 logging support" |
475 | depends on OCFS2_FS | 483 | depends on OCFS2_FS |