]> www.infradead.org Git - users/willy/pagecache.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>
Mon, 8 Nov 2021 03:24:16 +0000 (22:24 -0500)
commit17e99ff93ecca7c4d34dda562ca50c3999e89bea
treed31ef2c15c6134c4cdeee0e47bc06c812b7c7d82
parentf5e11540128440decc2c2f22c0784d42e7229da1
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>
fs/iomap/buffered-io.c