public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Kurt Garloff <garloff@suse.de>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Jean Delvare <jdelvare@suse.de>,
	linux-scsi@vger.kernel.org, Hannes Reinecke <hare@suse.de>
Subject: Re: [PATCH] Add BLIST_REPORTLUN2 to EMC SYMMETRIX
Date: Wed, 1 Jul 2009 21:42:24 +0200	[thread overview]
Message-ID: <20090701194224.GC20681@tpkurt2.suse.de> (raw)
In-Reply-To: <1246476812.3894.56.camel@mulgrave.site>

[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]

James,

On Wed, Jul 01, 2009 at 07:33:32PM +0000, James Bottomley wrote:
> > --- root.orig/drivers/scsi/scsi_devinfo.c
> > +++ root/drivers/scsi/scsi_devinfo.c
> > @@ -152,7 +152,7 @@ static struct {
> >  	{"DGC", "RAID", NULL, BLIST_SPARSELUN},	/* Dell PV 650F, storage on LUN 0 */
> >  	{"DGC", "DISK", NULL, BLIST_SPARSELUN},	/* Dell PV 650F, no storage on LUN 0 */
> >  	{"EMC",  "Invista", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
> > -	{"EMC", "SYMMETRIX", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_FORCELUN},
> > +	{"EMC", "SYMMETRIX", NULL, BLIST_SPARSELUN | BLIST_LARGELUN | BLIST_REPORTLUN2},
> 
> You don't actually need SPARSE or LARGELUN ... that's implied by
> REPORTLUN2, so only REPORTLUN2 is needed here.

When I created the patch, all SYMMETRIXes that I had ever been exposed
to did support REPORT_LUNs, but I was not sure that every single 
SYMMETRIX out there would actually support it. So in case some old
SYMMETRIX would not and the kernel would fall back to sequential
scanning, we would still find all LUNs by not dropping SPARSELUN
and LARGELUN. (Dropping FORCELUN on the other hand was absolutely right;
the flag is broken by design anyway and should never be used.)

So leaving in SPARSELUN and LARGELUN was not an oversight, but really
trying to be conservative.

If you have additional insight (you positively know that every SYMMETRIX
does support REPORT_LUNS) or you want to force possible devices that
do not support it into the open by breaking them, then remove the two
flags.

> >  	{"EMULEX", "MD21/S2     ESDI", NULL, BLIST_SINGLELUN},
> >  	{"easyRAID", "16P", NULL, BLIST_NOREPORTLUN},
> >  	{"easyRAID", "X6P", NULL, BLIST_NOREPORTLUN},

Best,
-- 
Kurt Garloff, VP OPS Partner Engineering -- Novell Inc.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2009-07-01 19:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200907012018.13695.jdelvare@suse.de>
2009-07-01 19:33 ` [PATCH] Add BLIST_REPORTLUN2 to EMC SYMMETRIX James Bottomley
2009-07-01 19:42   ` Kurt Garloff [this message]
2009-07-02 14:38     ` berthiaume_wayne
2009-07-02 15:35       ` James Bottomley
2009-07-02  8:23   ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090701194224.GC20681@tpkurt2.suse.de \
    --to=garloff@suse.de \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=hare@suse.de \
    --cc=jdelvare@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox