aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-03-30 19:36:24 +0800
committerJens Axboe <[email protected]>2023-04-02 19:22:55 -0600
commitae9f5ccea4c268a96763e51239b32d6b5172c18c (patch)
treea7a1f1f41e4700db5cf175cb4b9d7d38e73e26fa /tools/perf/scripts/python
parent96cf2f5404c8bc979628a2b495852d735a56c5b5 (diff)
block: ublk_drv: cleanup 'struct ublk_map_data'
'struct ublk_map_data' is passed to ublk_copy_user_pages() for copying data between userspace buffer and request pages. Here what matters is userspace buffer address/len and 'struct request', so replace ->io field with user buffer address, and rename max_bytes as len. Meantime remove 'ubq' field from ublk_map_data, since it isn't used any more. Then code becomes more readable. Reviewed-by: Ziyang Zhang <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions