From: Jaegeuk Kim Date: Sun, 25 Feb 2018 09:04:57 +0000 (-0800) Subject: f2fs: set readdir_ra by default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aea8da88a747697b8313507125f3ff0c6524393d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git f2fs: set readdir_ra by default It gives general readdir improvement. Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 789b0729cc2a..6edb3bab2734 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1297,6 +1297,7 @@ static void default_options(struct f2fs_sb_info *sbi) sbi->inline_xattr_size = DEFAULT_INLINE_XATTR_ADDRS; sbi->whint_mode = WHINT_MODE_OFF; sbi->alloc_mode = ALLOC_MODE_DEFAULT; + sbi->readdir_ra = 1; set_opt(sbi, BG_GC); set_opt(sbi, INLINE_XATTR);