[PATCH] nvmet: parametrize maximum number of namespaces

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Feb 22 01:50:44 PST 2022


>>   #define NVMET_MAX_NAMESPACES    1024
>> +extern u32 nvmet_max_namespaces;
>> +
>>   /*
>>    * 0 is not a valid ANA group ID, so we start numbering at 1.
>>    *
> 
> Please make this a subsystem attribute.
> That's precisely why we have configfs :-)
> 

Please no module param for this, right place is configfs subsys attr.

-ck



More information about the Linux-nvme mailing list