diff options
| author | Christoph Hellwig <[email protected]> | 2022-05-24 14:15:29 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-05-28 06:15:27 -0600 |
| commit | 32ac5a9b8bc511edcd81f03c3e21753789475709 (patch) | |
| tree | fd8895fa48e7b7904a04310077538fbffaf1fde0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ae948fd6d02930a7e8e7c492d9627dfef18e7d7f (diff) | |
blk-mq: avoid a mess of casts for blk_end_sync_rq
Instead of trying to cast a __bitwise 32-bit integer to a larger integer
and then a pointer, just allow a struct with the blk_status_t and the
completion on stack and set the end_io_data to that. Use the
opportunity to move the code to where it belongs and drop rather
confusing comments.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions