[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f509f9ca3cf66c03f9c4175b24deb28976933dba.camel@kernel.org>
Date: Sat, 05 Jul 2025 07:21:42 -0400
From: Jeff Layton <jlayton@...nel.org>
To: NeilBrown <neil@...wn.name>
Cc: Trond Myklebust <trondmy@...nel.org>, Anna Schumaker <anna@...nel.org>,
Chuck Lever <chuck.lever@...cle.com>, Olga Kornievskaia
<okorniev@...hat.com>, Dai Ngo <Dai.Ngo@...cle.com>, Tom Talpey
<tom@...pey.com>, Mike Snitzer <snitzer@...nel.org>,
linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC 2/2] nfsd: call generic_fadvise after v3 READ,
stable WRITE or COMMIT
On Fri, 2025-07-04 at 17:26 +1000, NeilBrown wrote:
> On Fri, 04 Jul 2025, NeilBrown wrote:
> >
> > Otherwise it makes sense for exploring how to optimise IO.
> >
> > Reviewed-by: NeilBrown <neil@...wn.name>
>
> 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().
Good catch. I'll fix that up in the next version.
Thanks,
--
Jeff Layton <jlayton@...nel.org>
Powered by blists - more mailing lists