[PATVH V2 3/3] nvmet: call blk_mq_free_request() directly

Christoph Hellwig hch at lst.de
Mon Aug 10 08:36:51 EDT 2020


On Thu, Aug 06, 2020 at 07:20:32PM -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().

Not strictly a fix, but I think we can just queue this up for 5.9
anyway as it is for brand new code:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list