ext4: Make the length of the mb_history file tunable
authorCurt Wohlgemuth <curtw@google.com>
Sat, 2 May 2009 00:27:20 +0000 (20:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 May 2009 00:27:20 +0000 (20:27 -0400)
commitf40339031b04279c3fdde7ac5fe97db33b2a7694
tree62b565c12488c63e620e5686304c16ed3434b735
parentbb23c20a851a5038b255a3c0d0aa56093c1da3f8
ext4: Make the length of the mb_history file tunable

In memory-constrained systems with many partitions, the ~68K for each
partition for the mb_history buffer can be excessive.

This patch adds a new mount option, mb_history_length, as well as a
way of setting the default via a module parameter (or via a sysfs
parameter in /sys/module/ext4/parameter/default_mb_history_length).
If the mb_history_length is set to zero, the mb_history facility is
disabled entirely.

Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c
fs/ext4/super.c
This page took 0.02763 seconds and 5 git commands to generate.