summaryrefslogtreecommitdiffstats
path: root/fs/ext4/Kconfig
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-09-18 19:38:55 +0200
committerTheodore Ts'o <tytso@mit.edu>2009-09-18 19:38:55 +0200
commit6ba495e9259cd9a0b40ebd6c315143535c92542f (patch)
tree7d43ea10a8971087e6e8b00c9934b0cf83e53d1e /fs/ext4/Kconfig
parentext4: fix journal ref count in move_extent_par_page (diff)
downloadlinux-6ba495e9259cd9a0b40ebd6c315143535c92542f.tar.xz
linux-6ba495e9259cd9a0b40ebd6c315143535c92542f.zip
ext4: Add configurable run-time mballoc debugging
Allow mballoc debugging to be enabled at run-time instead of just at compile time. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/Kconfig')
-rw-r--r--fs/ext4/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index 152304624644..d5c0ea2e8f2d 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -77,3 +77,12 @@ config EXT4_FS_SECURITY
If you are not using a security module that requires using
extended attributes for file security labels, say N.
+
+config EXT4_DEBUG
+ bool "EXT4 debugging support"
+ depends on EXT4_FS
+ help
+ Enables run-time debugging support for the ext4 filesystem.
+
+ If you select Y here, then you will be able to turn on debugging
+ with a command such as "echo 1 > /sys/kernel/debug/ext4/mballoc-debug"