diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-12-18 20:22:03 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 09:18:00 -0700 |
commit | 86292abc5af206f64192a0b60da06fd604debdc0 (patch) | |
tree | 7b66d61bb987c976f934316e4b316c0191afe426 /drivers/block | |
parent | 9b25bd0368d562d1929059e8eb9de4102567b923 (diff) | |
download | linux-86292abc5af206f64192a0b60da06fd604debdc0.tar.bz2 |
block: introduce bio helpers for converting to multipage bvec
The following helpers are introduced for converting current users of
direct access to bvec table, and prepares for supporting multipage bvec:
bio_pages_all()
bio_first_bvec_all()
bio_first_page_all()
bio_last_bvec_all()
All are named as bio_*_all() to following bio_for_each_segment_all(),
they can only be used on bio of !bio_flagged(bio, BIO_CLONED), that means
the whole bvec table is covered.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions