[PATCH 2/3] nvmet: expose discovery subsystems

Hannes Reinecke hare at suse.de
Thu Apr 7 03:13:53 PDT 2022


On 4/7/22 11:45, Christoph Hellwig wrote:
> On Wed, Apr 06, 2022 at 04:22:09PM +0200, Hannes Reinecke wrote:
>> Add a module parameter 'expose_discovery_subsys' to allow creation
>> of discovery subsystems through configfs.
>> If the option is enabled no default discovery subsystem is created
>> per default, and the user is required to create one via configfs.
> 
> I'm not fan of module parameters.  Can we do this using configfs on a
> per-port basis?

configfs: yes.
per-port: we could, but then we cannot configure the default discovery 
subsystem. But we can't do that anyway. I'll give it a shot.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare at suse.de			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer



More information about the Linux-nvme mailing list