commit | 764f612c6c3c231b9c12cfae7c328ccc9c453258 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Thu Oct 09 23:17:35 2014 +0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Oct 09 13:11:44 2014 -0600 |
tree | f07edb7a3ed883c1ac66e8ede65a9aa6681cb378 | |
parent | b8839b8c55f3fdd60dc36abcda7e0266aff7985c [diff] |
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: Ming Lei <ming.lei@canonical.com> Tested-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>