aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-12 17:39:56 +0200
committerJens Axboe <axboe@kernel.dk>2019-08-22 07:14:36 -0600
commit320ea869a12cec206756207c6ca5f817ec45c7f2 (patch)
treef47241df847ce8a065edf328cf94794e8f4694c0 /tools/perf/scripts/python/bin/stackcollapse-record
parentnbd: fix max number of supported devs (diff)
downloadlinux-320ea869a12cec206756207c6ca5f817ec45c7f2.tar.gz
linux-320ea869a12cec206756207c6ca5f817ec45c7f2.zip
block: improve the gap check in __bio_add_pc_page
If we can add more data into an existing segment we do not create a gap per definition, so move the check for a gap after the attempt to merge into the segment. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions