[PATCH 2/3] nvmet: make the subsystem type configurable
Hannes Reinecke
hare at suse.de
Mon Apr 4 23:00:25 PDT 2022
On 4/5/22 07:47, Christoph Hellwig wrote:
> On Thu, Mar 17, 2022 at 03:26:33PM +0100, Hannes Reinecke wrote:
>> Make the subsystem type configurable to allow for unique
>> discovery subsystems by changing the subsystem type to
>> 'discovery'.
>
> Does it make sense to change the type? Or should we have a new top-level
> interface to create and configure discovery subsystems from the start?
>
> If we had e.g.
>
> /sys/kernel/config/nvmet/discovery-subsystems/
>
> we could start that out with a pre-filled well known discovery subsystem
> but also allow disabling that for example if we really want.
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.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the Linux-nvme
mailing list