projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe06ea
)
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>
Sun, 8 Apr 2018 11:11:31 +0000
(
04:11
-0700)
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
|
blame
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index 789b0729cc2a22b695d5502749bd512f4a235eb5..6edb3bab2734faa846f4e19565f768f40a377f58 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);