readahead: Convert page_cache_async_ra() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 May 2021 16:30:54 +0000 (12:30 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 4 Jan 2022 18:15:34 +0000 (13:15 -0500)
commit7836d9990079ed611199819ccf487061b748193a
tree0ba00c8059d09d3b3311bd1373cde228241e827d
parent2fa4eeb800c0f8279f396abde010360f48b4b1d4
readahead: Convert page_cache_async_ra() to take a folio

Using the folio here avoids checking whether it's a tail page.
This patch mostly just enables some of the following patches.

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