]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
erofs: implement .fadvise for page cache share
authorHongzhen Luo <hongzhen@linux.alibaba.com>
Fri, 23 Jan 2026 01:31:32 +0000 (01:31 +0000)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 23 Jan 2026 12:02:09 +0000 (20:02 +0800)
commitd86d7817c042dd651d47b1873f4b6eaefbedd890
tree1a78e17af31c11a410ccc879f3533084a941cecc
parent9364b55a4dbf1ae9a8cb077cb8b7d0c7401d00fc
erofs: implement .fadvise for page cache share

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@linux.alibaba.com>
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/ishare.c