Skip to content
Commit 0b749ce3 authored by Jens Axboe's avatar Jens Axboe
Browse files

[PATCH] splice: be smarter about calling do_page_cache_readahead()



We don't want to call into the read-ahead logic unless we are at the
start of a page, _or_ we have multiple pages to read.

Signed-off-by: default avatarJens Axboe <axboe@suse.de>
parent 49d0b21b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment