aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-07-24 09:54:31 -0700
committerJens Axboe <[email protected]>2023-07-24 19:55:16 -0600
commit80232b520314214d846eb0a65faef8b51b702fa7 (patch)
tree2885d7020b3fb252ee17ea1df0298b0a8f79a1cb /tools/perf/scripts/python/stat-cpi.py
parent613699050a49760f1d70c74f71bd0b013ca3c356 (diff)
block: downgrade a bio_full call in bio_add_page
bio_add_page already checks that there is space in bi_size a little earlier. So after we failed to add to an existing segment, just check that there is another one available instead of duplicating the bi_size check. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jinyoung Choi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions