Skip to content

Commit f055855

Browse files
committed
f2fs: Use nobarrier fsync mode
Signed-off-by: Kazuki Hashimoto <[email protected]>
1 parent 434162a commit f055855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/f2fs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,7 @@ static void default_options(struct f2fs_sb_info *sbi)
20442044

20452045
F2FS_OPTION(sbi).inline_xattr_size = DEFAULT_INLINE_XATTR_ADDRS;
20462046
F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT;
2047-
F2FS_OPTION(sbi).fsync_mode = FSYNC_MODE_POSIX;
2047+
F2FS_OPTION(sbi).fsync_mode = FSYNC_MODE_NOBARRIER;
20482048
F2FS_OPTION(sbi).s_resuid = make_kuid(&init_user_ns, F2FS_DEF_RESUID);
20492049
F2FS_OPTION(sbi).s_resgid = make_kgid(&init_user_ns, F2FS_DEF_RESGID);
20502050
F2FS_OPTION(sbi).compress_algorithm = COMPRESS_LZ4;

0 commit comments

Comments
 (0)