[PATCH 1/3] nvmet: expose discovery subsystem in sysfs

Sagi Grimberg sagi at grimberg.me
Tue Mar 15 06:48:36 PDT 2022


>>> When you want to retrieve the discovery log manually _and_ have 
>>> existing persistent discovery controllers you'll need to know which 
>>> device to pick.
>>
>> Please describe the use-case because I still don't understand.
>> nvme-cli offers 'discover' that gives you the log page and 'connect-all'
>> that connects to the subsystems it found in the log page.
>>
>> Do you have foreign udev rules in addition to the ones supplied in
>> nvme-cli? I am missing the problem statement that you are alluding to.
>>
> 
> No, not foreign rules; it's the manual call to 'nvme discover' which I 
> try to simplify.
> 
> But you are right; unique discovery controllers are only important for 
> authentication. Everything else is just to make the system 'nicer'.

OK, thanks.

> So leave it for now and I'll come back with a different set of patches, 
> as I _still_ see a benefit in being able to configure the discovery 
> response.

Sure



More information about the Linux-nvme mailing list