[PATCH] nvme: set non-mdts limits at I/O queue creation

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue May 17 15:49:21 PDT 2022


On 5/17/22 15:44, Keith Busch wrote:
> On Tue, May 17, 2022 at 10:41:54PM +0000, Chaitanya Kulkarni wrote:
>> Also, this patch groups reading ctrl non-mdts limits right before I/O
>> queue allocation for each transport, since these limits are only
>> used for I/O queue allocation.
> 
> Maybe just check that 'ctrl->cntrltype == NVME_CTRL_IO' instead?

I did that initially, but if I remember correctly versions prior to
1.4 don't necessarily report a valid ctrl type.

-ck




More information about the Linux-nvme mailing list