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 20:35:02 +0000 (13:35 -0700)
commit72ecad22d9f198aafee64218512e02ffa7818671
tree08ea11fdde74c4948883ff6bdba1cff679fc9ed0
parent64f1c21e86f7fe63337b5c23c129de3ec506431d
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