[PATCH 2/2] nvmet: call blk_mq_free_request() directly

Keith Busch kbusch at kernel.org
Thu Aug 6 11:45:51 EDT 2020


On Thu, Aug 06, 2020 at 12:31:51AM -0700, Chaitanya Kulkarni wrote:
> Instead of calling blk_put_request() which calls blk_mq_free_request(),
> call blk_mq_free_request() directly for NVMeOF passthru. This is to
> mainly avoid an extra function call in the completion path
> nvmet_passthru_req_done().

This is fine. blk_put_request() is a left-over function before blk-mq.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list