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, 10 Nov 2024 13:51:52 +0000 (06:51 -0700)
commitab39c5c9c448abd28049b288e7cac654f107d9cd
treecc07eea5fdc774c2c4e2496517268193e93e7285
parenta8923e57c71bb6197f8f59620d5ee77f715133ff
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