filemap: Convert filemap_get_read_batch() to use a folio_batch
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 6 Dec 2021 20:25:33 +0000 (15:25 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 8 Jan 2022 05:28:41 +0000 (00:28 -0500)
commit25d6a23e8d280861dfe81193e18143afb2c0d777
tree844b73af605a47e462fe777e31fb1fdcf835d67b
parentd996fc7f615feb5986f67829e18a8d8400f41361
filemap: Convert filemap_get_read_batch() to use a folio_batch

This change ripples all the way through the filemap_read() call chain and
removes a lot of messing about converting folios to pages and back again.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
mm/filemap.c