aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-07-24 09:54:32 -0700
committerJens Axboe <axboe@kernel.dk>2023-07-24 19:55:16 -0600
commit858c708d9efb7e8e5c6320793b778cc17cf8368a (patch)
treef463c73809917e735451096b6f891173d4740236 /tools/perf/scripts/python/syscall-counts.py
parent80232b520314214d846eb0a65faef8b51b702fa7 (diff)
block: move the bi_size update out of __bio_try_merge_page
The update of bi_size is the only thing in __bio_try_merge_page that needs a bio. Move it to the callers, and merge __bio_try_merge_page and page_is_mergeable into a single bvec_try_merge_page that only takes the current bvec instead of a full bio. This will allow reusing this function for supporting multi-page integrity payload bvecs. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jinyoung Choi <j-young.choi@samsung.com> Link: https://lore.kernel.org/r/20230724165433.117645-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions