diff options
author | Christoph Hellwig <hch@lst.de> | 2023-04-13 09:06:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-13 15:58:02 +0300 |
commit | 4d5bba5bee0aa002523125e51789e95d47794a06 (patch) | |
tree | a4340145067e23dd23eae67a9c4f70506bb1af59 /scripts/gdb/linux/utils.py | |
parent | 1aa8d875b523d61347a6887e4a4ab65a6d799d40 (diff) | |
download | linux-4d5bba5bee0aa002523125e51789e95d47794a06.tar.xz |
blk-mq: remove __blk_mq_run_hw_queue
__blk_mq_run_hw_queue just contains a WARN_ON_ONCE for calls from
interrupt context and a blk_mq_run_dispatch_ops-protected call to
blk_mq_sched_dispatch_requests. Open code the call to
blk_mq_sched_dispatch_requests in both callers, and move the WARN_ON_ONCE
to blk_mq_run_hw_queue where it can be extended to all !async calls,
while the other call is from workqueue context and thus obviously does
not need the assert.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413060651.694656-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions