aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-06-05 19:44:09 +0800
committerJens Axboe <[email protected]>2020-06-07 08:56:50 -0600
commitd94ecfc399715f06da347922e7979c088b1d8834 (patch)
tree854865cc1204b8f951610b46cfe788741114cc75 /scripts/gdb/linux/timerlist.py
parent5aec598c456fe3c1b71a1202cbb42bdc2a643277 (diff)
blk-mq: split out a __blk_mq_get_driver_tag helper
Allocation of the driver tag in the case of using a scheduler shares very little code with the "normal" tag allocation. Split out a new helper to streamline this path, and untangle it from the complex normal tag allocation. This way also avoids to fail driver tag allocation because of inactive hctx during cpu hotplug, and fixes potential hang risk. Fixes: bf0beec0607d ("blk-mq: drain I/O when all CPUs in a hctx are offline") Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: John Garry <[email protected]> Cc: Dongli Zhang <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Daniel Wagner <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions