[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)
commita53becc9a9dbe4f2961b2bba129b3b2624401021
tree67351ddb63c352d8529f708cb3eb83a726b84f36
parente466e1c6e14e211e0ece86bdb0810b1b9c1a59a8
[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