mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
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>
This commit is contained in:
parent
84b89e5d94
commit
782911f491
@ -1297,6 +1297,7 @@ static void default_options(struct f2fs_sb_info *sbi)
|
|||||||
sbi->inline_xattr_size = DEFAULT_INLINE_XATTR_ADDRS;
|
sbi->inline_xattr_size = DEFAULT_INLINE_XATTR_ADDRS;
|
||||||
sbi->whint_mode = WHINT_MODE_OFF;
|
sbi->whint_mode = WHINT_MODE_OFF;
|
||||||
sbi->alloc_mode = ALLOC_MODE_DEFAULT;
|
sbi->alloc_mode = ALLOC_MODE_DEFAULT;
|
||||||
|
sbi->readdir_ra = 1;
|
||||||
|
|
||||||
set_opt(sbi, BG_GC);
|
set_opt(sbi, BG_GC);
|
||||||
set_opt(sbi, INLINE_XATTR);
|
set_opt(sbi, INLINE_XATTR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user