commit | ad3ce479e6e486390d77fe066611ca00d0969d4b | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Feb 25 01:04:57 2018 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Apr 08 04:03:38 2018 -0700 |
tree | 76112d29c5c2429ceb3f5e4a669a98dd0bd170a5 | |
parent | 5aae2026bbd246334dadbf017a7b01348f9058fa [diff] [blame] |
f2fs: set readdir_ra by default It gives general readdir improvement. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 2a854f9..a048b0d 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c
@@ -1297,6 +1297,7 @@ 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);