diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-02-15 19:13:13 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-15 08:40:11 -0700 |
commit | 862e5a5e6fa2c7fd514c179e9ceea27a49a3327f (patch) | |
tree | 6a1879d86c915819457f0da282738dcad61f8737 /lib/vsprintf.c | |
parent | dcebd755926b0f39dd1e3ef75bd3b46943400df0 (diff) | |
download | linux-stable-862e5a5e6fa2c7fd514c179e9ceea27a49a3327f.tar.gz linux-stable-862e5a5e6fa2c7fd514c179e9ceea27a49a3327f.tar.bz2 linux-stable-862e5a5e6fa2c7fd514c179e9ceea27a49a3327f.zip |
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 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions