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, 24 May 2018 15:57:30 +0000 (09:57 -0600)
commit1b4ad27447f90ff04e22f5ee1a25cf9f2ca60d16
tree577305dba194a508c3b00e914650157e95ce5c76
parente157aab6c841a9739b40307ef9634b1399e63ac2
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