projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b89e5
)
f2fs: set readdir_ra by default
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Sun, 25 Feb 2018 09:04:57 +0000
(
01:04
-0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 12 Mar 2018 23:05:52 +0000
(08:05 +0900)
It gives general readdir improvement.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index 9b6c53b695353c570f05923d09524b7588777872..30b93ad44b9d373e911624111b0739717c8d0567 100644
(file)
--- 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);