Re: [PATCH v11 10/10] erofs: implement .fadvise for page cache share

From: Gao Xiang

Date: Wed Dec 24 2025 - 03:19:54 EST




On 2025/12/24 12:09, Hongbo Li wrote:
From: Hongzhen Luo <hongzhen@xxxxxxxxxxxxxxxxx>

This patch implements the .fadvise interface for page cache share.
Similar to overlayfs, it drops those clean, unused pages through
vfs_fadvise().

Signed-off-by: Hongzhen Luo <hongzhen@xxxxxxxxxxxxxxxxx>
Signed-off-by: Hongbo Li <lihongbo22@xxxxxxxxxx>
Reviewed-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>

Thanks,
Gao Xiang