Skip to content
Commit 83fba8c8 authored by Chao Leng's avatar Chao Leng Committed by Christoph Hellwig
Browse files

blk-mq: introduce blk_mq_set_request_complete



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.

Signed-off-by: default avatarChao Leng <lengchao@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent f720a8ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment