From: Hannes Reinecke <hare@suse.de>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Swen Schillig <swen@vnet.ibm.com>,
linux-scsi@vger.kernel.org, linux-s390@vger.kernel.org,
schmichr@de.ibm.com
Subject: Re: [PATCH 3/3] zfcp: Don't report device as LUN 0 to SCSI stack
Date: Mon, 18 Jun 2007 10:47:28 +0200 [thread overview]
Message-ID: <467646A0.3070105@suse.de> (raw)
In-Reply-To: <1182113412.19498.7.camel@mulgrave.il.steeleye.com>
James Bottomley wrote:
> On Tue, 2007-05-29 at 15:29 +0200, Swen Schillig wrote:
>> From: Christof Schmitt <schmichr@de.ibm.com>
>>
>> zfcp reported units to the SCSI stack starting
>> with number 0. LUN 0 reported to the SCSI stack is usually
>> not the FCP LUN 0. When scanning for devices,
>> the SCSI stack tried to issue a REPORT LUN command to LUN 0.
>> The current design for zfcp does not want the SCSI stack to scan
>> for devices, since they are configured explicitly via sysfs.
>> This patch changes the numbering to always start with LUN 1 and therefore
>> prevent the SCSI stack sending REPORT LUN command.
>
> As a general principle, this does sound to be wrong (at least shifting
> the LUNs). Wouldn't something like the existing blacklist preventing
> the REPORT LUN command from being sent be more appropriate?
>
IMO the zfcp driver should export the FCP LUNs and not building their
own internal SCSI LUN to FCP LUN mapping table.
That would avoid this issue, too. And would make the zfcp driver more in
line with everyone else ...
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
-
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
next prev parent reply other threads:[~2007-06-18 8:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-29 13:29 [PATCH 3/3] zfcp: Don't report device as LUN 0 to SCSI stack Swen Schillig
2007-06-17 20:50 ` James Bottomley
2007-06-18 8:47 ` Hannes Reinecke [this message]
2007-06-18 13:04 ` Swen Schillig
2007-06-18 13:56 ` Heiko Carstens
2007-06-18 14:25 ` James Bottomley
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=467646A0.3070105@suse.de \
--to=hare@suse.de \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-s390@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=schmichr@de.ibm.com \
--cc=swen@vnet.ibm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.