summaryrefslogtreecommitdiff
path: root/e2fsck/e2fsck.conf.5.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-12-23 19:10:43 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-12-25 17:59:36 -0500
commit7dca4c88f166561031011ed27287818eaa343486 (patch)
tree0b8e01758e679fa8dd7fa330a345d4c1072bc70e /e2fsck/e2fsck.conf.5.in
parentd5a74ff10be2afe155f8b7c1397c75f4275ebeba (diff)
downloade2fsprogs-7dca4c88f166561031011ed27287818eaa343486.tar.gz
e2fsck: When repacking directories, leave slack space for more efficiency
If the directory is packed with no slack space, as soon as any new directory entries are added, leaf nodes end up getting split and directory ends up getting very inefficient. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/e2fsck.conf.5.in')
-rw-r--r--e2fsck/e2fsck.conf.5.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/e2fsck/e2fsck.conf.5.in b/e2fsck/e2fsck.conf.5.in
index c66a7698..6638a394 100644
--- a/e2fsck/e2fsck.conf.5.in
+++ b/e2fsck/e2fsck.conf.5.in
@@ -100,6 +100,13 @@ buggy distributions do not correct this before running e2fsck. If this
option is set to a boolean value of true, we attempt to work around this
situation by allowing the superblock last write time, last mount time,
and last check time to be in the future by up to 24 hours.
+.TP
+.I clear_test_fs_flag
+This boolean relation controls whether or not
+.BR e2fsck (8)
+will offer to clear
+the test_fs flag if the ext4 filesystem is available on the system. It
+defaults to true.
.TP
.I defer_check_on_battery
This boolean relation controls whether or not the interval between
@@ -107,10 +114,15 @@ filesystem checks (either based on time or number of mounts) should
be doubled if the system is running on battery. It defaults to
true.
.TP
-.I clear_test_fs_flag
-This boolean relation controls whether or not e2fsck will offer to clear
-the test_fs flag if the ext4 filesystem is available on the system. It
-defaults to true.
+.I indexed_dir_slack_percentage
+When
+.BR e2fsck (8)
+repacks a indexed directory, reserve the specified percentage of
+empty space in each leaf nodes so that a few new entries can
+be added to the directory without splitting leaf nodes, so that
+the average fill ratio of directories can be maintained at a
+higher, more efficient level. This relation defaults to 20
+percent.
.SH THE [problems] STANZA
Each tag in the
.I [problems]