]> 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)
commit564ac55963a4f529ae6ac039a35fd2851c9fd264
tree9b0d7a6c26db4ea494e82e5b1da0f16646f87780
parent42949d293af369678d0feb7245ddf1858a753a72
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