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)
commitfe8b9534a0a0356f8a76467e2c561194bdb53c84
tree9b0d7a6c26db4ea494e82e5b1da0f16646f87780
parent1b37bd606deef0a787bdbbab6ff51dbebdeb9d3d
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