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 15:46:49 +0000 (08:46 -0700)
commit4028170183d1e3dd4437f34e70d93139ec832fd6
treec9aebeccf99f4e43317cdfd4f2edbca62316e171
parentfdad094b2d64ea200b57c9f759d583a843edbf85
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