Re: [PATCH v15 3/9] nvme: Move nvme_passthru_[start|end]() calls to common helper

From: Christoph Hellwig
Date: Mon Jul 20 2020 - 10:06:06 EST


On Thu, Jul 16, 2020 at 02:33:13PM -0600, Logan Gunthorpe wrote:
> Introduce a new nvme_execute_passthru_rq() helper which calls
> nvme_passthru_[start|end]() around blk_execute_rq(). This ensures
> all passthru calls (including nvme_submit_io()) will be wrapped
> appropriately.
>
> nvme_execute_passthru_rq() will also be useful for the nvmet passthru
> code.
>
> Signed-off-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

although maybe you could have moved the code you changed in the
last patch up already to not just move it after changing it in the
last one.