UPSTREAM: f2fs: cache more dentry pages
While traversing dir entries in dentry page, it's better to refresh current accessed page in lru list by using FGP_ACCESSED flag, otherwise, such page may has less chance to survive during memory reclaim, result in causing additional IO when revisiting dentry page. Change-Id: Ia1646a9082152a05dba34f75c82e9feb88b099c1 Signed-off-by:zangyangyang1 <zangyangyang1@xiaomi.com> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit 5f659454)
Loading
Please sign in to comment