Commit 384a1a75 authored by zangyangyang1's avatar zangyangyang1 Committed by Jaegeuk Kim
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: Ia1646a9082152a05dba34f75c82e9feb88b099c1
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 0c7a8957
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment