]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_dh_alua: do not fail for unknown VPD identification
authorHannes Reinecke <hare@suse.de>
Fri, 6 May 2016 08:34:35 +0000 (10:34 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 May 2016 01:31:17 +0000 (21:31 -0400)
commit17d21d636f93067b7ae089d250dafd0dfc4250d8
tree9b0d7a6c26db4ea494e82e5b1da0f16646f87780
parente700d77b9bb7813a911f3e63a1726cef5f074a9d
scsi_dh_alua: do not fail for unknown VPD identification

Not every device will return a useable VPD identification, but still
might support ALUA. Rather than disable ALUA support we should be
allowing the device identification to be empty and attach individual
ALUA device handler to each devices.

[mkp: Fixed typo reported by Bart]

Reported-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Tested-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c