Re: [PATCH RFC 2/2] nfsd: call generic_fadvise after v3 READ, stable WRITE or COMMIT
From: NeilBrown
Date: Fri Jul 04 2025 - 03:31:09 EST
On Fri, 04 Jul 2025, NeilBrown wrote:
>
> Otherwise it makes sense for exploring how to optimise IO.
>
> Reviewed-by: NeilBrown <neil@xxxxxxxxxx>
Actually - I take that back. generic_fadvise() is the wrong interface.
It is for filesystems to use if the don't have any special requirements,
and for vfs_fadvise() to use if the file system hasn't give a function
to use.
nfsd should be calling vfs_fadvise().
NeilBrown