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

Daniel Wagner dwagner at suse.de
Mon Jun 14 04:21:26 PDT 2021


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?



More information about the Linux-nvme mailing list