diff options
author | David Howells <[email protected]> | 2020-07-22 10:44:34 +0100 |
---|---|---|
committer | David Howells <[email protected]> | 2022-01-07 13:44:56 +0000 |
commit | 0770bd4187c555e6df087f7abc252eeacb0842ec (patch) | |
tree | 5959a09dd6c491363d0bdb2b31e00889e245ac04 /net/lapb/lapb_timer.c | |
parent | c7f75ef33b6dcd4269d0f6ee8c50221ee3390733 (diff) |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions