Skip to content

Commit

Permalink
f2fs: set readdir_ra by default
Browse files Browse the repository at this point in the history
It gives general readdir improvement.

Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
  • Loading branch information
Jaegeuk Kim committed Apr 12, 2018
1 parent fd867fa commit 820bafa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/f2fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,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);
Expand Down

0 comments on commit 820bafa

Please sign in to comment.