On 1/31/21 8:49 PM, Chao Leng wrote: > nvme drivers need to set the state of request to MQ_RQ_COMPLETE when > directly complete request in queue_rq. > So add blk_mq_set_request_complete. This is a bit iffy, but looks ok for the intended use case. We just have to be careful NOT to add frivolous users of it... -- Jens Axboe