]> www.infradead.org Git - users/willy/linux.git/commit
iomap: Convert readahead and readpage to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 28 Apr 2021 13:39:51 +0000 (09:39 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 25 Nov 2021 19:03:03 +0000 (14:03 -0500)
commit9b466530224ecb70fa8579b35eced22eaabd58c2
treed356571fe47204a543acd4792d106297f0d6047a
parent9cd04ded32e5fa7c25e1f1b47cd5c65f4d0c1f54
iomap: Convert readahead and readpage to use a folio

Handle folios of arbitrary size instead of working in PAGE_SIZE units.
readahead_folio() decreases the page refcount for you, so this is not
quite a mechanical change.

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