[PATCH] nvmetcli: fix double ana groupid when save config
Guixin Liu
kanie at linux.alibaba.com
Tue Nov 26 00:43:55 PST 2024
Hi Christoph,
Could you please take a look on this patch? And also "[PATCH]
nvmetcli: reservation
configuration support" which send in 2024/10/29, thanks.
Best Regards,
Guixin Liu
在 2024/10/31 10:37, Guixin Liu 写道:
> gentle ping...
>
> Best Regards,
>
> Guixin Liu
>
> 在 2024/10/29 11:43, Guixin Liu 写道:
>> There are two ana grpid in json file after save the config,
>> including ana group: "ana":{"grpid"}, and "ana_grpid", remove one,
>> still one can use both of them to set ana_grpid.
>>
>> Signed-off-by: Guixin Liu <kanie at linux.alibaba.com>
>> ---
>> nvmet/nvme.py | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/nvmet/nvme.py b/nvmet/nvme.py
>> index 59efdb5..41b4845 100644
>> --- a/nvmet/nvme.py
>> +++ b/nvmet/nvme.py
>> @@ -626,7 +626,6 @@ class Namespace(CFSNode):
>> def dump(self):
>> d = super(Namespace, self).dump()
>> d['nsid'] = self.nsid
>> - d['ana_grpid'] = self.grpid
>> return d
More information about the Linux-nvme
mailing list