Home
last modified time | relevance | path

Searched hist:"7 f60dcaa" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-merge.c7f60dcaa Tue Nov 11 10:15:41 CST 2014 Ming Lei <tom.leiming@gmail.com> block: blk-merge: fix blk_recount_segments()

For cloned bio, bio->bi_vcnt can't be used at all, and we
have resort to bio_segments() to figure out how many
segment there are in the bio.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
7f60dcaa Tue Nov 11 10:15:41 CST 2014 Ming Lei <tom.leiming@gmail.com> block: blk-merge: fix blk_recount_segments()

For cloned bio, bio->bi_vcnt can't be used at all, and we
have resort to bio_segments() to figure out how many
segment there are in the bio.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>