]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] dh_rdac: Use WWID from C8 page instead of Subsystem id from C4 page to identif...
authorChandra Seetharaman <sekharan@us.ibm.com>
Wed, 20 Jul 2011 21:18:56 +0000 (14:18 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 10:29:44 +0000 (14:29 +0400)
commit86b62409475e7483009cd75367d6439ec832f3ae
tree67351ddb63c352d8529f708cb3eb83a726b84f36
parent09cc467acbbff752a130f467c7b7fefdc40cca04
[SCSI] dh_rdac: Use WWID from C8 page instead of Subsystem id from C4 page to identify storage

rdac hardware handler uses "Subsystem Identifier" from C4 inquiry page
to uniquely identify a storage. The problem with that is that if any
any of the bytes are non-ascii, subsys_id will all be spaces (hex
0x20). This creates lot of problems especially when there are multiple
rdac storages are connected to the server.

Use "Storage Array Unique Identifier" from C8 inquiry page, which is the
world wide unique identifier for the storage array, to uniquely identify
the storage.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_rdac.c