[PATCH v5 1/3] blk-mq: introduce blk_mq_set_request_complete

Jens Axboe axboe at fb.com
Thu Feb 4 10:27:46 EST 2021


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




More information about the Linux-nvme mailing list