]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Enable multipage folio support
authorDavid Howells <dhowells@redhat.com>
Wed, 10 Aug 2022 17:52:47 +0000 (18:52 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 14 Aug 2022 00:20:51 +0000 (17:20 -0700)
commit29af6db30bf6176c553f8d50b13e69948bb5eb96
treeb09ce0d0f6b05e0b6681f68fd17bb8532f7af00d
parentb9303ed6ebe920f0c175cabc8f0a4a43c4e89900
afs: Enable multipage folio support

Enable multipage folio support for the afs filesystem.

Support has already been implemented in netfslib, fscache and cachefiles
and in most of afs, but I've waited for Matthew Wilcox's latest folio
changes.

Note that it does require a change to afs_write_begin() to return the
correct subpage.  This is a "temporary" change as we're working on
getting rid of the need for ->write_begin() and ->write_end()
completely, at least as far as network filesystems are concerned - but
it doesn't prevent afs from making use of the capability.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: kafs-testing@auristor.com
Cc: Marc Dionne <marc.dionne@auristor.com>
Cc: linux-afs@lists.infradead.org
Link: https://lore.kernel.org/lkml/2274528.1645833226@warthog.procyon.org.uk/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/inode.c
fs/afs/write.c