mm/filemap: use page_cache_sync_ra() to kick off read-ahead
authorJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 01:52:58 +0000 (18:52 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 1 Dec 2024 22:55:24 +0000 (15:55 -0700)
commit39c1ce91ac2011560bb186bdddd736b58a7127fe
tree8b76c53656e18eb824b9f2341dd698da5f6244e1
parent97b493acb1f48364b0773049c4f7ab239054ae27
mm/filemap: use page_cache_sync_ra() to kick off read-ahead

Rather than use the page_cache_sync_readahead() helper, define our own
ractl and use page_cache_sync_ra() directly. In preparation for needing
to modify ractl inside filemap_get_pages().

No functional changes in this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/filemap.c