diff options
author | David Howells <dhowells@redhat.com> | 2022-12-02 17:12:41 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-24 18:08:51 +0300 |
commit | a34847d4b73c3a98b565b1d1cc6e1b70c661e18b (patch) | |
tree | 7d8a291a082ef312e523092cadec63abeb65b082 /include/linux/netfs.h | |
parent | 5f5ce7ba15e7e6a6539ac8e1f845757aaebecf0d (diff) | |
download | linux-a34847d4b73c3a98b565b1d1cc6e1b70c661e18b.tar.xz |
afs: Don't use folio->private to record partial modification
AFS currently uses folio->private to store the range of bytes within a
folio that have been modified - the idea being that if we have, say, a 2MiB
folio and someone writes a single byte, we only have to write back that
single page and not the whole 2MiB folio - thereby saving on network
bandwidth.
Remove this, at least for now, and accept the extra network load (which
doesn't matter in the common case of writing a whole file at a time from
beginning to end).
This makes folio->private available for netfslib to use.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Diffstat (limited to 'include/linux/netfs.h')
0 files changed, 0 insertions, 0 deletions