]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
blk-mq: introduce blk_mq_set_request_complete
authorChao Leng <lengchao@huawei.com>
Mon, 1 Feb 2021 03:49:38 +0000 (11:49 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 10 Feb 2021 15:38:02 +0000 (16:38 +0100)
commit83fba8c8114748a18e20391565cfdfdf8466075c
treed7ecd2392807517912b8310e4364a62ed08ab561
parentf720a8edbc6470fad8b47d0d4ae092a6c63340bb
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: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/blk-mq.h