nfs: add support for large folios
authorChristoph Hellwig <hch@lst.de>
Mon, 27 May 2024 16:36:09 +0000 (18:36 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 8 Jul 2024 14:55:39 +0000 (10:55 -0400)
commit49b29a573da83b65d5f4ecf2db6619bab7aa910c
treed512fb830dd31287fc37c2ec23d67d28a314c486
parent9aac777aaf9459786bc8463e6cbfc7e7e1abd1f9
nfs: add support for large folios

NFS already is void of folio size assumption, so just pass the chunk size
to __filemap_get_folio and set the large folio address_space flag for all
regular files.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/file.c
fs/nfs/inode.c