diff options
author | Jan Kara <jack@suse.cz> | 2007-11-13 18:59:33 (GMT) |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-28 00:47:02 (GMT) |
commit | 5a58c3ef22d6e5b84ff651a7d27ae2cbea9f9870 (patch) | |
tree | 07d7d903b1a3d47b432ce36987e021772332d9f7 /fs/Kconfig | |
parent | a46043e08f300982c51df317e2f8fb919dedadcd (diff) | |
download | linux-5a58c3ef22d6e5b84ff651a7d27ae2cbea9f9870.tar.xz |
[PATCH] ocfs2: Remove expensive bitmap scanning
Enable expensive bitmap scanning only if DEBUG option is enabled.
The bitmap scanning quite loads the CPU and on my machine the write
throughput of dd if=/dev/zero of=/ocfs2/file bs=1M count=500 conv=sync
improves from 37 MB/s to 45.4 MB/s in local mode...
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -459,6 +459,15 @@ config OCFS2_DEBUG_MASKLOG This option will enlarge your kernel, but it allows debugging of ocfs2 filesystem issues. +config OCFS2_DEBUG_FS + bool "OCFS2 expensive checks" + depends on OCFS2_FS + default n + help + This option will enable expensive consistency checks. Enable + this option for debugging only as it is likely to decrease + performance of the filesystem. + config MINIX_FS tristate "Minix fs support" help |