diff options
| author | Christoph Hellwig <[email protected]> | 2023-04-13 06:06:51 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-04-13 12:58:02 +0000 |
| commit | 4d5bba5bee0aa002523125e51789e95d47794a06 (patch) | |
| tree | a4340145067e23dd23eae67a9c4f70506bb1af59 /lib/fault-inject.c | |
| parent | blk-mq: move the !async handling out of __blk_mq_delay_run_hw_queue (diff) | |
| download | kernel-4d5bba5bee0aa002523125e51789e95d47794a06.tar.gz kernel-4d5bba5bee0aa002523125e51789e95d47794a06.zip | |
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
