]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 21 Mar 2022 17:01:36 +0000 (13:01 -0400)
commita5da2f42394ffc0e23e7b67a2ae78601ab868f56
tree86139a89edefebe64ca55d190dbfbea57bad30c2
parentd5f2ab1c66bc5c90e63e88e8e6147e616a25d438
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