From: Jaegeuk Kim Date: Fri, 2 Apr 2021 00:25:20 +0000 (-0700) Subject: f2fs: set checkpoint_merge by default X-Git-Tag: v5.15~1195^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5d15199a26f6dce624b43c82764cdb3827e7c89;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 14239e2..c15800c 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1839,6 +1839,7 @@ static void default_options(struct f2fs_sb_info *sbi) set_opt(sbi, EXTENT_CACHE); set_opt(sbi, NOHEAP); clear_opt(sbi, DISABLE_CHECKPOINT); + set_opt(sbi, MERGE_CHECKPOINT); F2FS_OPTION(sbi).unusable_cap = 0; sbi->sb->s_flags |= SB_LAZYTIME; set_opt(sbi, FLUSH_MERGE);