diff --git a/block/blk-mq.c b/block/blk-mq.c index 1bf41f83737dcbad8d2c2d6e2d267d4ace452975..224c2c73cedf5ff58869d7b17a57bfed2fcc4d3b 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1986,8 +1986,10 @@ static blk_qc_t blk_mq_make_request(struct request_queue *q, struct bio *bio) */ if (list_empty(&plug->mq_list)) same_queue_rq = NULL; - if (same_queue_rq) + if (same_queue_rq) { list_del_init(&same_queue_rq->queuelist); + plug->rq_count--; + } blk_add_rq_to_plug(plug, rq); blk_mq_put_ctx(data.ctx);