Searched hist:bdced438acd83ad83a6c6fc7f50099b820245ddb (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-merge.c | diff bdced438acd83ad83a6c6fc7f50099b820245ddb Tue Oct 20 10:13:52 CDT 2015 Ming Lei <ming.lei@canonical.com> block: setup bi_phys_segments after splitting
The number of bio->bi_phys_segments is always obtained during bio splitting, so it is natural to setup it just after bio splitting, then we can avoid to compute nr_segment again during merge.
Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Jens Axboe <axboe@fb.com>
|