Commit d01006bd authored by zangyangyang1's avatar zangyangyang1 Committed by Treehugger Robot
Browse files

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: Ia97da0427de95fe7e4a6f65985b3adecac94c85a
Signed-off-by: default avatarzangyangyang1 <zangyangyang1@xiaomi.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 5f659454)
parent d149cd37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment