[PATCH] ocfs2: Remove expensive bitmap scanning
authorJan Kara <jack@suse.cz>
Tue, 13 Nov 2007 18:59:33 +0000 (19:59 +0100)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 28 Nov 2007 00:47:02 +0000 (16:47 -0800)
commit5a58c3ef22d6e5b84ff651a7d27ae2cbea9f9870
tree07d7d903b1a3d47b432ce36987e021772332d9f7
parenta46043e08f300982c51df317e2f8fb919dedadcd
[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>
fs/Kconfig
fs/ocfs2/localalloc.c