[PATCHv2] nvmet: implement unique discovery NQN

Hannes Reinecke hare at suse.de
Tue Dec 19 23:41:33 PST 2023


On 12/19/23 15:17, Sagi Grimberg wrote:
> 
>>> Add a configfs attribute 'discovery_nqn' in the 'nvmet' configfs
>>> directory to specify the unique discovery NQN.
>>
>> That's a bit of a sparse commit log.  What do  unique discovery NQN do?
>> Please include a reference and a bit of an explnation.  And tell us
>> why this feature is useful for Linux to have.
> 
> I think that a unique NQN is better to authenticate against. That would
> be the motivation in my mind here.

Correct; unique NQN is actually a requirement for authentication.
I guess there is even a TPAR out there to make it so.

But my main driver here is to test persistent discovery controllers
as this impacts far more than 'just' the nvme subsystem. Most notably
it requires enablement from the OS side, and possibly modifications
in various areas (udev, systemd, dracut, etc).
All of which need to be tested.

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), GF: Ivo Totev, Andrew McDonald,
Werner Knoblich




More information about the Linux-nvme mailing list