Commit ce7231e9 authored by Sunil Mushran's avatar Sunil Mushran Committed by Mark Fasheh

[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: default avatarSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent bce7f793
...@@ -470,6 +470,14 @@ config OCFS2_FS_USERSPACE_CLUSTER ...@@ -470,6 +470,14 @@ config OCFS2_FS_USERSPACE_CLUSTER
It is safe to say Y, as the clustering method is run-time It is safe to say Y, as the clustering method is run-time
selectable. 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 config OCFS2_DEBUG_MASKLOG
bool "OCFS2 logging support" bool "OCFS2 logging support"
depends on OCFS2_FS depends on OCFS2_FS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment