Re: [PATCH v3] fuse: Forward vfs_fadvise to backing_file in passthrough mode
From: Miklos Szeredi
Date: Fri Oct 16 2026 - 05:05:07 EST
On Wed, 14 Oct 2026 at 21:20, Shai Barack <shayba@xxxxxxxxxx> wrote:
> Architecturally, Linux VFS supports filesystem-specific fadvise
> delegation via the .fadvise hook in struct file_operations. Implement
> fuse_file_fadvise() in fs/fuse/file.c and register it in
> fuse_file_operations. When passthrough is active on a fuse_file,
> fuse_file_fadvise() forwards the vfs_fadvise() call to the lower
> backing_file under the opened credentials, allowing POSIX_FADV_DONTNEED
> to cleanly invalidate the physical backing filesystem pagecache.
Applied, thanks.
Miklos