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

block: optimize blk_bio_segment_split for single-page bvec



Introduce a fast path for single-page bvec IO, then we can avoid
to call bvec_split_segs() unnecessarily.

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 48d7727c
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