On Wed, Apr 23, 2025 at 12:25:32AM -0400, trondmy@xxxxxxxxxx wrote: > From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > > While the NFS readahead code has no problems using the generic code to > manage the dropbehind behaviour enabled by RWF_DONTCACHE, the write code > needs to deal with the fact that NFS writeback uses a 2 step process > (UNSTABLE write followed by COMMIT). > This commit replaces the use of the folio dropbehind flag with a local > NFS request flag that triggers the dropbehind behaviour once the data > has been written to stable storage. > > Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx>