blk-mq remove debug BUG_ON() when draining software queues
authorJens Axboe <axboe@fb.com>
Wed, 30 Apr 2014 19:43:08 +0000 (13:43 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 30 Apr 2014 19:43:08 +0000 (13:43 -0600)
It's never been of any use, lets get rid of it.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c

index 0aee325682103a1af4f038755897abfcce96b341..77308a84dfb220c536023a45a681a87818ad04f1 100644 (file)
@@ -599,7 +599,6 @@ static void __blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx)
        for_each_set_bit(bit, hctx->ctx_map, hctx->nr_ctx) {
                clear_bit(bit, hctx->ctx_map);
                ctx = hctx->ctxs[bit];
-               BUG_ON(bit != ctx->index_hw);
 
                spin_lock(&ctx->lock);
                list_splice_tail_init(&ctx->rq_list, &rq_list);