[PATCH v2 1/2] nvme-core: add method to check for an I/O controller

Kamaljit Singh kamaljit.singh at opensource.wdc.com
Wed Sep 17 14:42:27 PDT 2025


On Mon, Sep 08, 2025 at 02:56:35PM +0200, Hannes Reinecke wrote:
> On 9/6/25 01:25, Kamaljit Singh wrote:
> > Add nvme_is_io_ctrl() to check if the controller is of type I/O
> > controller. Uses negative logic by excluding an administrative
> > controller and a discovery controller.
> > 
> > Signed-off-by: Kamaljit Singh <kamaljit.singh at opensource.wdc.com>
> > ---
> >   drivers/nvme/host/core.c | 5 +++++
> >   1 file changed, 5 insertions(+)
> > 
> Reviewed-by: Hannes Reinecke <hare at suse.de>
> 
Please review and provide any feedback on these 2 patches.

Thanks,
Kamaljit Singh



More information about the Linux-nvme mailing list