]> www.infradead.org Git - users/willy/linux.git/commit
iomap: Convert __iomap_zero_iter to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 5 Nov 2021 18:24:09 +0000 (14:24 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 25 Nov 2021 19:03:03 +0000 (14:03 -0500)
commitf6c5ccea60a93c9da165fc795530838ebf6e92ba
treeaaa9bc0ddb693026fcb930cb43a5836aca0c2167
parent8e560fd5c813fa2d9327c5b6a470fd043ff01392
iomap: Convert __iomap_zero_iter to use a folio

The zero iterator can work in folio-sized chunks instead of page-sized
chunks.  This will save a lot of page cache lookups if the file is cached
in large folios.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c