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

blk-merge: don't compute bi_phys_segments from bi_vcnt for cloned bio



It isn't correct to figure out req->bi_phys_segments from bio->bi_vcnt
if the bio is cloned.

Signed-off-by: default avatarMing Lei <ming.lei@canonical.com>
Tested-by: default avatarJeff Mahoney <jeffm@suse.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent b8839b8c
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