f2fs: set checkpoint_merge by default
Once we introduced checkpoint_merge, we've seen some contention w/o the option. In order to avoid it, let's set it by default. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
be1ee45d51
commit
b5d15199a2
@ -1839,6 +1839,7 @@ static void default_options(struct f2fs_sb_info *sbi)
|
|||||||
set_opt(sbi, EXTENT_CACHE);
|
set_opt(sbi, EXTENT_CACHE);
|
||||||
set_opt(sbi, NOHEAP);
|
set_opt(sbi, NOHEAP);
|
||||||
clear_opt(sbi, DISABLE_CHECKPOINT);
|
clear_opt(sbi, DISABLE_CHECKPOINT);
|
||||||
|
set_opt(sbi, MERGE_CHECKPOINT);
|
||||||
F2FS_OPTION(sbi).unusable_cap = 0;
|
F2FS_OPTION(sbi).unusable_cap = 0;
|
||||||
sbi->sb->s_flags |= SB_LAZYTIME;
|
sbi->sb->s_flags |= SB_LAZYTIME;
|
||||||
set_opt(sbi, FLUSH_MERGE);
|
set_opt(sbi, FLUSH_MERGE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user