summaryrefslogtreecommitdiff
path: root/drivers/block/drbd
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-12-18 15:22:03 +0300
committerJens Axboe <axboe@kernel.dk>2018-01-06 19:18:00 +0300
commit86292abc5af206f64192a0b60da06fd604debdc0 (patch)
tree7b66d61bb987c976f934316e4b316c0191afe426 /drivers/block/drbd
parent9b25bd0368d562d1929059e8eb9de4102567b923 (diff)
downloadlinux-86292abc5af206f64192a0b60da06fd604debdc0.tar.xz
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/drbd')
0 files changed, 0 insertions, 0 deletions