commit | 862e5a5e6fa2c7fd514c179e9ceea27a49a3327f | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Fri Feb 15 19:13:13 2019 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Feb 15 08:40:11 2019 -0700 |
tree | 6a1879d86c915819457f0da282738dcad61f8737 | |
parent | dcebd755926b0f39dd1e3ef75bd3b46943400df0 [diff] |
block: use bio_for_each_bvec() to map sg It is more efficient to use bio_for_each_bvec() to map sg, meantime we have to consider splitting multipage bvec as done in blk_bio_segment_split(). Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>