aboutsummaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-04-13 08:06:51 +0200
committerJens Axboe <[email protected]>2023-04-13 06:58:02 -0600
commit4d5bba5bee0aa002523125e51789e95d47794a06 (patch)
treea4340145067e23dd23eae67a9c4f70506bb1af59 /lib/fault-inject.c
parent1aa8d875b523d61347a6887e4a4ab65a6d799d40 (diff)
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 <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions