diff options
author | Ming Lei | 2019-02-15 19:13:13 +0800 |
---|---|---|
committer | Jens Axboe | 2019-02-15 08:40:11 -0700 |
commit | 862e5a5e6fa2c7fd514c179e9ceea27a49a3327f (patch) | |
tree | 6a1879d86c915819457f0da282738dcad61f8737 /fs | |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions