HomeFreeBSD

MFC r364185: Fill device serial_num and device_id in NVMe XPT.

Description

MFC r364185: Fill device serial_num and device_id in NVMe XPT.

It allows to report GEOM::lunid for nda(4) same as for nvd(4). Since
NVMe now allows multiple LUs (namespaces) with multiple paths unique
LU identification is important. The serial_num field is filled same
as before with the controller serial number, while device_id is based
on namespace GUID and/or EUI64 fields as recommended by "NVM Express:
SCSI Translation Reference" and matching nvd(4) at the end.

Details

Provenance
mavAuthored on
Parents
rS364413: MFC r364178: Report proper stripesize for nda(4).
Branches
Unknown
Tags
Unknown