Searched hist:bdced438 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-merge.c | bdced438 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> bdced438 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>
|