aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-10-16 07:34:49 -0600
committerJens Axboe <[email protected]>2021-10-18 06:17:18 -0600
commit4a60f360a5c9533d77db011db6766448f763c86a (patch)
tree3e401b78cec3cc16ca37ef51932392b70b00552e /tools/perf/scripts/python/stackcollapse.py
parent0f38d76646157357fcfa02f50575ea044830c494 (diff)
block: don't dereference request after flush insertion
We could have a race here, where the request gets freed before we call into blk_mq_run_hw_queue(). If this happens, we cannot rely on the state of the request. Grab the hardware context before inserting the flush. Fixes: 0f38d7664615 ("blk-mq: cleanup blk_mq_submit_bio") Reviewed-by: Ming Lei <[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