aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <[email protected]>2022-11-22 17:49:17 +0900
committerJens Axboe <[email protected]>2022-11-22 06:10:54 -0700
commitd4b2e0d433769cb7c87e4c93dc048733388d1c46 (patch)
tree4c51983db9288f8e21fe7c6a1718cf83a2937656 /tools/perf/scripts/python/flamegraph.py
parent3569788c08235c6f3e9e6ca724b2df44787ff487 (diff)
block: fix missing nr_hw_queues update in blk_mq_realloc_tag_set_tags
The commit ee9d55210c2f ("blk-mq: simplify blk_mq_realloc_tag_set_tags") cleaned up the function blk_mq_realloc_tag_set_tags. After this change, the function does not update nr_hw_queues of struct blk_mq_tag_set when new nr_hw_queues value is smaller than original. This results in failure of queue number change of block devices. To avoid the failure, add the missing nr_hw_queues update. Fixes: ee9d55210c2f ("blk-mq: simplify blk_mq_realloc_tag_set_tags") Reported-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Shin'ichiro Kawasaki <[email protected]> Link: https://lore.kernel.org/linux-block/20221118140640.featvt3fxktfquwh@shindev/ Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions