Ming Lei 3a83f46775 block: bio: pass bvec table to bio_init()
Some drivers often use external bvec table, so introduce
this helper for this case. It is always safe to access the
bio->bi_io_vec in this way for this case.

After converting to this usage, it will becomes a bit easier
to evaluate the remaining direct access to bio->bi_io_vec,
so it can help to prepare for the following multipage bvec
support.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

Fixed up the new O_DIRECT cases.

Signed-off-by: Jens Axboe <axboe@fb.com>
2016-11-22 08:57:21 -07:00
..
2016-10-28 08:45:17 -06:00
2016-10-28 08:48:16 -06:00
2016-10-28 08:48:16 -06:00
2016-11-11 16:18:24 -07:00
2016-10-28 08:48:16 -06:00
2016-10-18 10:05:42 -06:00
2016-11-10 13:53:40 -07:00