[PATCH 2/3] nvmet: make the subsystem type configurable

Sagi Grimberg sagi at grimberg.me
Tue Apr 5 03:35:54 PDT 2022


>>> I actually looked into that with my previous attempt, and really 
>>> found no
>>> good way of having an entry which is
>>> a) pre-filled
>>> and
>>> b) removable by the admin later on.
>>>  From what I've seen all pre-filled entries are static; I haven't 
>>> found a
>>> way to do pre-filled dynamic entries.
>>
>> I don't think we need to remove the well known discovery subsystem. But
>> we can allow removing all entries from it and thus reporting an empty
>> log.
> 
> Hmm.
> We still would need to pre-fill these entries when creating subsystems.
> Bringing us back to square one, namely there is no way to create dynamic 
> pre-filled entries.

Why do we need to remove it altogether? Why not just make these
subsystems attach to port(s) like any other subsystem?



More information about the Linux-nvme mailing list