afs: Enable multipage folio support

Linux Kernel / Linux Kernel - David Howells [] - 14 August 2022 00:20 UTC

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.

8549a26308f9 afs: Enable multipage folio support
fs/afs/inode.c | 2 ++
fs/afs/write.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)


  • Share