Whamcloud - gitweb
libext2fs: allow the default journal size to go as large as a gigabyte
authorTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2016 15:37:59 +0000 (11:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2016 15:37:59 +0000 (11:37 -0400)
commitbbd2f78cf63ab4c635d76073605d6fb1a30c277c
tree85de972384431ecf15745cdb4b5c9e7e1314d94a
parent35a4e1b1c5cbb493842be6f901b155a9b4489b12
libext2fs: allow the default journal size to go as large as a gigabyte

Recent research has shown that for a metadata-heavy workload, a 128 MB
is journal be a bottleneck on HDD's, and that the optimal journal size
is proportional to number of unique metadata blocks that can be
modified (and written into the journal) in a 30 second window.  One
gigabyte should be sufficient for most workloads, which will be used
for file systems larger than 128 gigabytes.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/mkjournal.c
tests/d_dumpe2fs_group_only/expect
tests/t_uninit_bg_rm/expect