From d20c91380a57c77575ffcf5d6b4f04274797b604 Mon Sep 17 00:00:00 2001 From: Park Ju Hyung Date: Fri, 9 Oct 2020 23:16:41 +0900 Subject: [PATCH] f2fs: disable background gc in favor of rapid GC This was left out on earlier merges Signed-off-by: Park Ju Hyung Signed-off-by: Adam W. Willis --- fs/f2fs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 0d90cd2dafcf..daedae84a3e5 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1621,7 +1621,7 @@ static void default_options(struct f2fs_sb_info *sbi) F2FS_OPTION(sbi).compress_algorithm = COMPRESS_LZ4; F2FS_OPTION(sbi).compress_log_size = MIN_COMPRESS_LOG_SIZE; F2FS_OPTION(sbi).compress_ext_cnt = 0; - F2FS_OPTION(sbi).bggc_mode = BGGC_MODE_ON; + F2FS_OPTION(sbi).bggc_mode = BGGC_MODE_OFF; set_opt(sbi, INLINE_XATTR); set_opt(sbi, INLINE_DATA);