summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-12-02 14:12:41 +0000
committerDavid Howells <dhowells@redhat.com>2023-12-24 15:08:51 +0000
commita34847d4b73c3a98b565b1d1cc6e1b70c661e18b (patch)
tree7d8a291a082ef312e523092cadec63abeb65b082 /fs/9p
parent5f5ce7ba15e7e6a6539ac8e1f845757aaebecf0d (diff)
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 'fs/9p')
0 files changed, 0 insertions, 0 deletions