summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2025-10-14 18:04:55 +0300
committerJens Axboe <axboe@kernel.dk>2025-11-07 04:11:58 +0300
commit2f6b2565d43cdb5087cac23d530cca84aa3d897e (patch)
treeb985942dfe23e833c5f10d7156ea98ad455b64c9 /tools/perf/scripts/python
parent0739c2c6a015604a7c01506bea28200a2cc2e08c (diff)
downloadlinux-2f6b2565d43cdb5087cac23d530cca84aa3d897e.tar.xz
block: accumulate memory segment gaps per bio
The blk-mq dma iterator has an optimization for requests that align to the device's iommu merge boundary. This boundary may be larger than the device's virtual boundary, but the code had been depending on that queue limit to know ahead of time if the request is guaranteed to align to that optimization. Rather than rely on that queue limit, which many devices may not report, save the lowest set bit of any boundary gap between each segment in the bio while checking the segments. The request stores the value for merging and quickly checking per io if the request can use iova optimizations. Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions