diff options
author | David Howells <dhowells@redhat.com> | 2022-02-09 22:52:13 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-28 12:45:19 +0300 |
commit | 16af134ca4b7051b1587108f2066ec90ae029f74 (patch) | |
tree | 6fd9a9d2b89b15a68a9c9db560c1f209f4fdc747 /fs/cramfs | |
parent | 768ddb1eacf5dd997ecf393e7bab9796bad047e0 (diff) | |
download | linux-16af134ca4b7051b1587108f2066ec90ae029f74.tar.xz |
netfs: Extend the netfs_io_*request structs to handle writes
Modify the netfs_io_request struct to act as a point around which writes
can be coordinated. It represents and pins a range of pages that need
writing and a list of regions of dirty data in that range of pages.
If RMW is required, the original data can be downloaded into the bounce
buffer, decrypted if necessary, the modifications made, then the modified
data can be reencrypted/recompressed and sent back to the server.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions