summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2015-10-20 18:13:52 +0300
committerJens Axboe <axboe@fb.com>2015-10-22 00:00:50 +0300
commitbdced438acd83ad83a6c6fc7f50099b820245ddb (patch)
tree441b9c9b16d55c157db90c499ba4fd2821bfe60b /tools/perf/scripts/python/call-graph-from-postgresql.py
parent0809e3ac62319dc7534b64f95ac37e230d740e8a (diff)
downloadlinux-bdced438acd83ad83a6c6fc7f50099b820245ddb.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions