]> 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)
commite5cb09a3326c899e521b038f283e7acc9ad1f423
tree67351ddb63c352d8529f708cb3eb83a726b84f36
parentb72421ad4e89d7f086f15008f91a03fc433ab707
[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