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:
Родитель
5810d903fa
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче