mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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>
This commit is contained in:
parent
5810d903fa
commit
98bc1f272a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user