block: support a full bio worth of IO for simplified bdev direct-io
authorJens Axboe <axboe@fb.com>
Thu, 17 Nov 2016 06:11:42 +0000 (23:11 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 17 Nov 2016 06:32:47 +0000 (23:32 -0700)
commitf058192dc3f66c06589ae68e1fbaffc02c898a10
treea926ab0c34af3e127558929e89f32e78190417a2
parent6fe26bc8f2329450dc233ac4cec8981d8a16a6e5
block: support a full bio worth of IO for simplified bdev direct-io

Just alloc the bio_vec array if we exceed the inline limit.

Signed-off-by: Jens Axboe <axboe@fb.com>
fs/block_dev.c