On Wed, Apr 12, 2023 at 05:13:05PM +0800, Ming Lei wrote: > > + if (blk_mq_hctx_stopped(hctx)) > > + return; > > blk_mq_run_dispatch_ops(hctx->queue, > > blk_mq_sched_dispatch_requests(hctx)); > > The above new check isn't needed actually, since blk_mq_sched_dispatch_requests() > does check it with rcu read lock held, which should be more reliable. The check is not new, it is just moved. But yes, we could probably just remove it instead.