On 4/13/23 15:06, Christoph Hellwig wrote: > __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 extented to all !async calls, s/extented/extended > while the other call is from workqueue context and thus obviously does > not need the assert. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>