Message ID | 20161007161957.6042-1-xose.vazquez@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On 10/07/2016 06:19 PM, Xose Vazquez Perez wrote: > At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as: > #define CLARIION_NAME "emc" > > Cc: Christoph Hellwig <hch@lst.de> > Cc: Hannes Reinecke <hare@suse.de> > Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> > Cc: James E.J. Bottomley <jejb@linux.vnet.ibm.com> > Cc: Martin K. Petersen <martin.petersen@oracle.com> > Cc: SCSI ML <linux-scsi@vger.kernel.org> > Cc: device-mapper development <dm-devel@redhat.com> > Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> > --- > drivers/scsi/scsi_dh.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/scsi/scsi_dh.c b/drivers/scsi/scsi_dh.c > index 54d446c..b8d3b97 100644 > --- a/drivers/scsi/scsi_dh.c > +++ b/drivers/scsi/scsi_dh.c > @@ -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" }, > Whee. Of course. Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
On Sat, 2016-10-08 at 19:17 +0200, Hannes Reinecke wrote: > On 10/07/2016 06:19 PM, Xose Vazquez Perez wrote: > > At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as: > > #define CLARIION_NAME "emc" > > > > Cc: Christoph Hellwig <hch@lst.de> > > Cc: Hannes Reinecke <hare@suse.de> > > Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> > > Cc: James E.J. Bottomley <jejb@linux.vnet.ibm.com> > > Cc: Martin K. Petersen <martin.petersen@oracle.com> > > Cc: SCSI ML <linux-scsi@vger.kernel.org> > > Cc: device-mapper development <dm-devel@redhat.com> > > Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> > > --- > > drivers/scsi/scsi_dh.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/scsi/scsi_dh.c b/drivers/scsi/scsi_dh.c > > index 54d446c..b8d3b97 100644 > > --- a/drivers/scsi/scsi_dh.c > > +++ b/drivers/scsi/scsi_dh.c > > @@ -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" }, > > > Whee. Of course. > > Reviewed-by: Hannes Reinecke <hare@suse.com> Actually, should we replace? Aren't there older arrays still bearing the clariion name, so we should have these entries in addition? James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, Oct 09, 2016 at 07:21:45AM +0800, James Bottomley wrote: > 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. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, 2016-10-09 at 17:19 +0200, Christoph Hellwig wrote: > On Sun, Oct 09, 2016 at 07:21:45AM +0800, James Bottomley wrote: > > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>> "Xose" == Xose Vazquez Perez <xose.vazquez@gmail.com> 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.
diff --git a/drivers/scsi/scsi_dh.c b/drivers/scsi/scsi_dh.c index 54d446c..b8d3b97 100644 --- a/drivers/scsi/scsi_dh.c +++ b/drivers/scsi/scsi_dh.c @@ -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" },
At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as: #define CLARIION_NAME "emc" Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: James E.J. Bottomley <jejb@linux.vnet.ibm.com> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: SCSI ML <linux-scsi@vger.kernel.org> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> --- drivers/scsi/scsi_dh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)