[PATCH 02/24] scsi-multipath: introduce basic SCSI device support
John Garry
john.g.garry at oracle.com
Mon Mar 2 03:33:25 PST 2026
On 02/03/2026 02:16, Benjamin Marzinski wrote:
>> +
>> +#ifdef CONFIG_SCSI_MULTIPATH
>> +#define SCSI_MPATH_DEVICE_ID_LEN 40
> Is there a reason that this is set to 40? scsi_vpd_lun_id() can return
> ids larger than 40 (struct alua_port_group uses 256 bytes to hold the
> response), and I don't know of any guarantee that the id will be unique
> within the first 40 characters, although it certainly seems like only
> pathological devices wouldn't.
Right, I will be increasing this to be aligned with what the spec allows.
Thanks!
More information about the Linux-nvme
mailing list