commit | 48d7727cae1209235700ed90f8f11426027b333b | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Wed Feb 27 20:40:11 2019 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Feb 27 06:18:54 2019 -0700 |
tree | b4232539d43b720be2c0ff40017c14457000e0e2 | |
parent | 4d633062c1c0794a6b3836b7b55afba4599736e8 [diff] |
block: optimize __blk_segment_map_sg() for single-page bvec Introduce a fast path for single-page bvec IO, then blk_bvec_map_sg() can be avoided. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>