btrfs: readpages() should submit IO as read-ahead
authorJens Axboe <axboe@kernel.dk>
Thu, 24 May 2018 15:45:50 +0000 (09:45 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jun 2018 01:01:09 +0000 (19:01 -0600)
commitaf6e1fde5a1a0f4c710346043298b7a62ab23881
treebfbb2dac52d5dfb67783ef9b8c09ed4fb8f3e039
parent15a1b3cf24a58e0e9b4ec8de8582decfb332d01d
btrfs: readpages() should submit IO as read-ahead

a_ops->readpages() is only ever used for read-ahead. Ensure that we
pass this information down to the block layer.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/btrfs/extent_io.c