scsi: replace wrong device handler name for CLARiiON arrays
Subsystems (2)
PATCH 1/1 scsi: replace wrong device handler name for CLARiiON arrays
At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as:
#define CLARIION_NAME "emc"
--- drivers/scsi/scsi_dh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/scsi_dh.c +3 -3
@@ -36,9 +36,9 @@ struct scsi_dh_blist { };static const struct scsi_dh_blist scsi_dh_blist[] = { - {"DGC" ,"RAID" ,"clariion" }, - {"DGC" ,"DISK" ,"clariion" }, - {"DGC" ,"VRAID" ,"clariion" }, + {"DGC" ,"RAID" ,"emc" }, + {"DGC" ,"DISK" ,"emc" }, + {"DGC" ,"VRAID" ,"emc" }, {"COMPAQ" ,"MSA1000 VOLUME" ,"hp_sw" }, {"COMPAQ" ,"HSV110" ,"hp_sw" },
Signature · 1 line
2.10.1
Quoted 23 lines · Xose Vazquez Perez
At
drivers/scsi/device_handler/scsi_dh_emc.cit was defined as:
#defineCLARIION_NAME"emc"Cc Christoph Hellwig <[email protected]>Cc Hannes Reinecke <[email protected]>Cc Christophe Varoqui <[email protected]>Cc James E.J. Bottomley <[email protected]>Cc Martin K. Petersen <[email protected]>Cc SCSI ML <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- drivers/scsi/scsi_dh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/scsi/scsi_dh.c +0
-0@@ -36,9 +36,9 @@ struct scsi_dh_blist { };
drivers/scsi/scsi_dh.c struct scsi_dh_blist { · line 44
Quoted 10 lines
drivers/scsi/scsi_dh.c +3
-3static const struct scsi_dh_blist scsi_dh_blist[] = { - {"DGC" ,"RAID" ,"clariion" }, - {"DGC" ,"DISK" ,"clariion" }, - {"DGC" ,"VRAID" ,"clariion" }, + {"DGC" ,"RAID" ,"emc" }, + {"DGC" ,"DISK" ,"emc" }, + {"DGC" ,"VRAID" ,"emc" }, {"COMPAQ" ,"MSA1000 VOLUME" ,"hp_sw" }, {"COMPAQ" ,"HSV110" ,"hp_sw" },
Whee. Of course.
Cheers,
Hannes
Signature · 4 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
Quoted 31 lines · Hannes Reinecke
Quoted 30 lines · Xose Vazquez Perez
At
drivers/scsi/device_handler/scsi_dh_emc.cit was defined as:
#defineCLARIION_NAME"emc"Cc Christoph Hellwig <[email protected]>Cc Hannes Reinecke <[email protected]>Cc Christophe Varoqui <[email protected]>Cc James E.J. Bottomley <[email protected]>Cc Martin K. Petersen <[email protected]>Cc SCSI ML <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- drivers/scsi/scsi_dh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/scsi/scsi_dh.c +3
-3@@ -36,9 +36,9 @@ struct scsi_dh_blist { };static const struct scsi_dh_blist scsi_dh_blist[] = { - {"DGC" ,"RAID" ,"clariion" }, - {"DGC" ,"DISK" ,"clariion" }, - {"DGC" ,"VRAID" ,"clariion" }, + {"DGC" ,"RAID" ,"emc" }, + {"DGC" ,"DISK" ,"emc" }, + {"DGC" ,"VRAID" ,"emc" },
Quoted 6 lines
drivers/scsi/scsi_dh.c struct scsi_dh_blist { · line 44
Quoted 3 lines
drivers/scsi/scsi_dh.c +0
-0{"COMPAQ", "MSA1000 VOLUME", "hp_sw" }, {"COMPAQ", "HSV110", "hp_sw" },Whee. Of course.
Reviewed-by Hannes Reinecke <[email protected]>
Actually, should we replace? Aren't there older arrays still bearing the clariion name, so we should have these entries in addition?
James
Quoted 2 lines · James Bottomley
Actually, should we replace? Aren't there older arrays still bearing the clariion name, so we should have these entries in addition?
The changed string isn't the inquiry vendor string, but the DH driver name it is mapped to. And the driver for the clariion arrays is indeed emc, even if the inquity data shows DGC.
Quoted 8 lines · Christoph Hellwig
Quoted 3 lines · James Bottomley
Actually, should we replace? Aren't there older arrays still bearing
the clariion name, so we should have these entries in addition?The changed string isn't the inquiry vendor string, but the DH driver name it is mapped to. And the driver for the clariion arrays is indeed emc, even if the inquity data shows DGC.
Ah, missed that, thanks!
Patch looks fine to me then.
James
Martin K. Petersen
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Xose" == Xose Vazquez Perez <[email protected]> writes:
Xose> At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as:
Xose> #define CLARIION_NAME "emc"
Applied to 4.9/scsi-fixes.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering