[PATCH v4 1/2] nvme/pci: factor out nvme_init_hctx() helper

Keith Busch kbusch at kernel.org
Tue Apr 22 09:28:24 PDT 2025


On Tue, Apr 22, 2025 at 10:19:58AM -0600, Caleb Sander Mateos wrote:
> nvme_init_hctx() and nvme_admin_init_hctx() are very similar. In
> preparation for adding more logic, factor out a nvme_init_hctx() helper.
> Rename the old nvme_init_hctx() to nvme_io_init_hctx().

Looks good.

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



More information about the Linux-nvme mailing list