From: Mike Snitzer Date: Wed, 5 Jan 2011 21:00:24 +0000 (-0500) Subject: [SCSI] scsi_dh_alua: add scalable ONTAP lun to dev list X-Git-Tag: upstream/snapshot3+hdmi~11187^2~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fd1062fdfde39bbc0092ce91e7eedee1007eb96;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [SCSI] scsi_dh_alua: add scalable ONTAP lun to dev list Currently NetApp's VID/PID details in the INQUIRY response shows up as 'NETAPP' and 'LUN'. With upcoming scalable SAN ONTAP version on NetApp controllers, the PID entry alone is being modified to 'LUN C-Mode' (to distinguish current ONTAP LUNs from scalable ONTAP LUNs). 'LUN' would still suffice for matching 'LUN C-Mode' but best to explicitly add these new NetApp LUNs to the device list. Reported-by: Martin George Acked-by: Mike Christie Signed-off-by: Mike Snitzer Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c index c1fd09d..5b6f9ab 100644 --- a/drivers/scsi/device_handler/scsi_dh_alua.c +++ b/drivers/scsi/device_handler/scsi_dh_alua.c @@ -732,6 +732,7 @@ static const struct scsi_dh_devlist alua_dev_list[] = { {"Pillar", "Axiom" }, {"Intel", "Multi-Flex"}, {"NETAPP", "LUN"}, + {"NETAPP", "LUN C-Mode"}, {"AIX", "NVDISK"}, {"Promise", "VTrak"}, {NULL, NULL}