summaryrefslogtreecommitdiff
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-04-27 16:37:09 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-18 07:49:40 -0400
commit9bf70167e3c61473b95f40771decc3778bf0fb9f (patch)
tree8bd91ec6eeb58a0d896ed87193fab73626601a0d /mm/page_io.c
parentf705bf84eab2aa3b9842974b8443587727ccb23a (diff)
mm/filemap: Add readahead_folio()
The pointers stored in the page cache are folios, by definition. This change comes with a behaviour change -- callers of readahead_folio() are no longer required to put the page reference themselves. This matches how readpage works, rather than matching how readpages used to work. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Howells <dhowells@redhat.com> Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions