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>
Fri, 8 Nov 2024 01:59:59 +0000 (18:59 -0700)
commit34ebe7117fa394ff444308fd795eb20b280af33c
treee83a4ed819f3e5a0a0229faa4da49d73317b37ee
parent4963e10b788eb50740f5896651fa7e56d2ec0a8e
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