aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2020-07-22 09:44:34 +0000
committerDavid Howells <[email protected]>2022-01-07 13:44:56 +0000
commit0770bd4187c555e6df087f7abc252eeacb0842ec (patch)
tree5959a09dd6c491363d0bdb2b31e00889e245ac04 /Documentation/filesystems/caching/netfs-api.rst
parentafs: Copy local writes to the cache when writing to the server (diff)
downloadkernel-0770bd4187c555e6df087f7abc252eeacb0842ec.tar.gz
kernel-0770bd4187c555e6df087f7abc252eeacb0842ec.zip
afs: Skip truncation on the server of data we haven't written yet
Don't send a truncation RPC to the server if we're only shortening data that's in the pagecache and is beyond the server's EOF. Also don't automatically force writeback on setattr, but do wait to store RPCs that are in the region to be removed on a shortening truncation. Signed-off-by: David Howells <[email protected]> Tested-by: [email protected] Acked-by: Jeff Layton <[email protected]> cc: Marc Dionne <[email protected]> cc: [email protected] Link: https://lore.kernel.org/r/163819663275.215744.4781075713714590913.stgit@warthog.procyon.org.uk/ # v1 Link: https://lore.kernel.org/r/163906972600.143852.14237659724463048094.stgit@warthog.procyon.org.uk/ # v2 Link: https://lore.kernel.org/r/163967177522.1823006.15336589054269480601.stgit@warthog.procyon.org.uk/ # v3 Link: https://lore.kernel.org/r/164021571880.640689.1837025861707111004.stgit@warthog.procyon.org.uk/ # v4
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions