[PATCH] nvme: simplify request ready check for pci
Christoph Hellwig
hch at lst.de
Mon Mar 10 06:24:48 PDT 2025
On Fri, Mar 07, 2025 at 03:26:55PM -0800, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> The criteria for pci transports' request ready check is simpler than
> fabrics. Move the pci check to a different function. This also makes the
> existing ready check simpler since it doesn't need to repeatedly test if
> the controller is a fabrics type.
The change looks good, but now that this is split, the PCI version
should move to pci.c, and the fabrics version should move to fabrics.c
and into the nvmf_* namespace.
More information about the Linux-nvme
mailing list