[PATCH 1/1] nvmet: use subsys->max_nsid to report MNAN

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Mon Jun 14 12:16:07 PDT 2021


On 6/14/21 04:21, Daniel Wagner wrote:
> On Sun, Jun 13, 2021 at 06:37:54PM -0700, Chaitanya Kulkarni wrote:
>> For Spec regarding MNAN value:-
>>
>> If the controller supports Asymmetric Namespace Access Reporting, then
>> this field shall be set to a non-zero value that is less than or equal
>> to the NN value.
>>
>> Instead of using NVMET_MAX_NAMESPACES use subsys->max_nsid to set the
>> MNAN value.
>>
>> Without this patch it results in the following error :- 
>>
>> [337976.409142] nvme nvme1: Invalid MNAN value 1024
> Is this not the very same patch on which Christoph commented?
>

Yes without the rest of the patches.





More information about the Linux-nvme mailing list