Skip to content
Commit 48d7727c authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

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: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4d633062
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment