diff options
author | David Howells <[email protected]> | 2023-11-22 17:18:17 +0000 |
---|---|---|
committer | David Howells <[email protected]> | 2023-12-28 09:45:25 +0000 |
commit | e0ace6ca98bef0d8d354040f13ffc0a498813ee9 (patch) | |
tree | bf426f6aa6e3c0fa9f4b186eb79857675b7148ae /rust/helpers | |
parent | 80645bd4aa33a5c325f11b8dc6b38b38410ad5c0 (diff) |
netfs, cachefiles: Pass upper bound length to allow expansion
Make netfslib pass the maximum length to the ->prepare_write() op to tell
the cache how much it can expand the length of a write to. This allows a
write to the server at the end of a file to be limited to a few bytes
whilst writing an entire block to the cache (something required by direct
I/O).
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions