diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-10-02 08:31:54 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2006-10-02 08:31:54 -0400 |
commit | d49db19e0d7810662ba5f8c985e924734d4ebb6c (patch) | |
tree | c138368ba8fb7a79bb9edfaae314d7a96ccd28bd /misc/util.c | |
parent | d255b22ef02f7976e68b1ad8201e303a8dfd73b3 (diff) | |
download | e2fsprogs-d49db19e0d7810662ba5f8c985e924734d4ebb6c.tar.gz |
Increase default journal size to guarantee working on-line resizing
Make the smallest journal be 1400 blocks instead of 1024 blocks to
make sure there is enough room to support on-line resizing.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/util.c')
-rw-r--r-- | misc/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/util.c b/misc/util.c index 7cb952f8..57ce2b3a 100644 --- a/misc/util.c +++ b/misc/util.c @@ -275,7 +275,7 @@ int figure_journal_size(int size, ext2_filsys fs) } if (fs->super->s_blocks_count < 32768) - j_blocks = 1024; + j_blocks = 1400; else if (fs->super->s_blocks_count < 256*1024) j_blocks = 4096; else if (fs->super->s_blocks_count < 512*1024) |