summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-11-28 16:52:32 +0530
committerJens Axboe <axboe@kernel.dk>2024-12-23 08:17:16 -0700
commit031141976be0bd5f385775727a4ed3cc845eb7ba (patch)
tree6d5b124eee407d387285e5534f4594121c593522 /tools/perf/scripts
parent5dbb3cbd060aa86a722d7d44278e537ae3f63081 (diff)
block: copy back bounce buffer to user-space correctly in case of split
Copy back the bounce buffer to user-space in entirety when the parent bio completes. The existing code uses bip_iter.bi_size for sizing the copy, which can be modified. So move away from that and fetch it from the vector passed to the block layer. While at it, switch to using better variable names. Fixes: 492c5d455969f ("block: bio-integrity: directly map user buffers") Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anuj Gupta <anuj20.g@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/r/20241128112240.8867-3-anuj20.g@samsung.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions