[PATCH] splice: be smarter about calling do_page_cache_readahead()
authorJens Axboe <axboe@suse.de>
Mon, 10 Apr 2006 07:05:04 +0000 (09:05 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 10 Apr 2006 07:05:04 +0000 (09:05 +0200)
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: Jens Axboe <axboe@suse.de>
fs/splice.c

diff --cc fs/splice.c
Simple merge