diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-30 13:43:08 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-30 13:43:08 -0600 |
commit | 98bc1f272aba620d4222120853011d0ef026cf56 (patch) | |
tree | 7a37b2666ba63583771a59049ccefa9312166cd8 /block/blk-mq.c | |
parent | 5810d903fa3459e703ce82a1d45136813c6afad8 (diff) | |
download | blackbird-op-linux-98bc1f272aba620d4222120853011d0ef026cf56.tar.gz blackbird-op-linux-98bc1f272aba620d4222120853011d0ef026cf56.zip |
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>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 0aee32568210..77308a84dfb2 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -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); |