chiark / gitweb /
path_id: rework SAS device handling
authorMichael Reed <mdr@sgi.com>
Wed, 20 Apr 2011 18:25:16 +0000 (20:25 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 20 Apr 2011 18:25:16 +0000 (20:25 +0200)
commit00f34bc435f51decab266f2e9a7be223df15c87e
tree7c115a50224ddda402c922234f54c7decf7c6e8a
parentc7be212dbd21bca5ec041697109c63c6277d5425
path_id: rework SAS device handling

Lun numbers < 256 are displayed as "lun-x".  Lun numbers >= 256 use
the lun number format previously used in fibre channel by-path
links, 0xabcd012300000000. This lun numbering scheme is implemented
for sas, fibre channel, iscsi.

I want it to be clearly understood that this patch changes the
/dev/disk/by-path names for fc devices.  Here is an example of the
change:
  Old: pci-0000:0c:00.1-fc-0x204700a0b81130aa:0x00fa000000000000
  New: pci-0000:0c:00.1-fc-0x204700a0b81130aa-lun-250
extras/path_id/path_id.c