commit | 98bc1f272aba620d4222120853011d0ef026cf56 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Apr 30 13:43:08 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 30 13:43:08 2014 -0600 |
tree | 7a37b2666ba63583771a59049ccefa9312166cd8 | |
parent | 5810d903fa3459e703ce82a1d45136813c6afad8 [diff] |
blk-mq remove debug BUG_ON() when draining software queues It's never been of any use, lets get rid of it. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/block/blk-mq.c b/block/blk-mq.c index 0aee325..77308a8 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c
@@ -599,7 +599,6 @@ 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);