diff --git a/block/blk-mq.c b/block/blk-mq.c index a80f4986e59492a4e5111b34468c61ce148eae14..b3d2785eefe930692416d8540a7897e8819f9d3b 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2026,7 +2026,8 @@ static blk_status_t __blk_mq_try_issue_directly(struct blk_mq_hw_ctx *hctx, if (bypass_insert) return BLK_STS_RESOURCE; - blk_mq_request_bypass_insert(rq, false, run_queue); + blk_mq_sched_insert_request(rq, false, run_queue, false); + return BLK_STS_OK; }