diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index 141c602d5e85..c3d9d02064b7 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -5226,7 +5226,7 @@ static struct request *__bfq_dispatch_request(struct blk_mq_hw_ctx *hctx) goto exit; bfqq = bfq_select_queue(bfqd); - if (!bfqq) + if (!bfqq || !bfqq->next_rq) goto exit; rq = bfq_dispatch_rq_from_bfqq(bfqd, bfqq);