Description
Assume the NVMe/TCP boot attempts are configured to point to discovery controllers.
As called e.g. by nvme connect-all --nbft
, discover_from_nbft()
uses SSNS records for actual connection. This is okay since it's primary the pre-OS (UEFI) driver responsibility to perform actual discovery.
However, in case the defined discovery controller is inaccessible for some reason, e.g. in case of a broken multipath, the SSNS records won't get populated obviously. Still, the NBFT Discovery Descriptor List will likely contain original DC entries and userspace may want to perform additional discovery and connection (e.g. when a path comes back up).
SSNS records carry a link to the Discovery Controller list and a 'discovered' flag so that there's actualy an evidence of pre-OS discovery attempts.
Mechanisms for calling nvme connect-all --nbft
are being discussed in #2179.