block: implement bio helper to add iter bvec pages to bio
authorJens Axboe <axboe@kernel.dk>
Fri, 30 Nov 2018 22:20:41 +0000 (15:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 17:13:09 +0000 (10:13 -0700)
commitc45e4569ed727f421d116c6e512b5dbed96c3eb5
treee2280bc9127f862e03a1419a4ae6bbaad854e3dd
parenta5183b6beba1f4dbc71ebddb54ba606c80e64602
block: implement bio helper to add iter bvec pages to bio

For an ITER_BVEC, we can just iterate the iov and add the pages
to the bio directly.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h