On 2024/11/11 12:31, zangyangyang1 wrote:
f2fs_find_data_page is used to find dentry pages,
I think we should cache more dentry pages.

How about?

"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."


Signed-off-by: zangyangyang1 <zangyangya...@xiaomi.com>

I think it's better to improve commit description, anyway, code part looks
good to me.

Reviewed-by: Chao Yu <c...@kernel.org>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to