kay | pitti: the host number is a simple kernel *enumeration* which depends on discovery order, it can never be used to compose *predictable* identifier
kay | pitti: that ID_PATH=scsi-0:0:1:0 should never happen
The summary is that path_id should fail instead of computing a non-unique ID_PATH for generic SCSI devices. IOW, the whole handle_scsi_default() should go away.
Discussed with Kay on IRC:
kay | pitti: the host number is a simple kernel *enumeration* which depends on discovery order, it can never be used to compose *predictable* identifier scsi-0: 0:1:0 should never happen
kay | pitti: that ID_PATH=
The summary is that path_id should fail instead of computing a non-unique ID_PATH for generic SCSI devices. IOW, the whole handle_ scsi_default( ) should go away.