mm/readahead: Add large folio readahead
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 5 Feb 2020 16:27:01 +0000 (11:27 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Mar 2022 02:01:36 +0000 (21:01 -0500)
commit4d60c2e6e05b77f732226030c9608f61c650d110
treefa8a081eafdab0c0e47fd98c31b7400cb1d805eb
parent60ed272758516639d21d75aba0c807322920f53f
mm/readahead: Add large folio readahead

Allocate large folios in the readahead code when the filesystem supports
them and it seems worth doing.  The heuristic for choosing which folio
sizes will surely need some tuning, but this aggressive ramp-up has been
good for testing.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/readahead.c