Message ID | 49a954e6-2f96-8a63-ce15-2c82c1a1d36d@kernel.dk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/blk-mq.c b/block/blk-mq.c index 758a9b5..41def54 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -810,11 +810,11 @@ static void __blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx) struct list_head *dptr; int queued; - WARN_ON(!cpumask_test_cpu(raw_smp_processor_id(), hctx->cpumask)); - if (unlikely(test_bit(BLK_MQ_S_STOPPED, &hctx->state))) return; + WARN_ON(!cpumask_test_cpu(raw_smp_processor_id(), hctx->cpumask)); + hctx->run++;