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>
Mon, 11 Nov 2024 01:20:17 +0000 (18:20 -0700)
commit872092000891c223d6ad30ba30a6e5ad9da76147
treed82f7884bc724ef0b06ae4cf320b5c6381e81624
parentc73f6c7022c9b5a67984056e81aff66683712598
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