diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-09-29 15:51:30 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-09-29 15:51:30 -0400 |
commit | 90576c0b9a0b5323fc4bd7f23f49be0d234f36d1 (patch) | |
tree | d4a1ab6f923f1c9c7c87f13a828db72c1f4412c1 /fs/ext4/extents.c | |
parent | d3d1faf6a74496ea4435fd057c6a2cad49f3e523 (diff) | |
download | kernel_samsung_tuna-90576c0b9a0b5323fc4bd7f23f49be0d234f36d1.zip kernel_samsung_tuna-90576c0b9a0b5323fc4bd7f23f49be0d234f36d1.tar.gz kernel_samsung_tuna-90576c0b9a0b5323fc4bd7f23f49be0d234f36d1.tar.bz2 |
ext4, jbd2: Drop unneeded printks at mount and unmount time
There are a number of kernel printk's which are printed when an ext4
filesystem is mounted and unmounted. Disable them to economize space
in the system logs. In addition, disabling the mballoc stats by
default saves a number of unneeded atomic operations for every block
allocation or deallocation.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 10a6309..10539e3 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2380,6 +2380,7 @@ void ext4_ext_init(struct super_block *sb) */ if (EXT4_HAS_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_EXTENTS)) { +#if defined(AGGRESSIVE_TEST) || defined(CHECK_BINSEARCH) || defined(EXTENTS_STATS) printk(KERN_INFO "EXT4-fs: file extents enabled"); #ifdef AGGRESSIVE_TEST printk(", aggressive tests"); @@ -2391,6 +2392,7 @@ void ext4_ext_init(struct super_block *sb) printk(", stats"); #endif printk("\n"); +#endif #ifdef EXTENTS_STATS spin_lock_init(&EXT4_SB(sb)->s_ext_stats_lock); EXT4_SB(sb)->s_ext_min = 1 << 30; |