Re: [RFC PATCH 3/3] NFS: Enable the RWF_DONTCACHE flag for the NFS client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux