From: Patrick Mansfield <patmans@us.ibm.com>
To: Martin Peschke3 <MPESCHKE@de.ibm.com>
Cc: Luben Tuikov <luben@splentec.com>, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] SCSI Core patches
Date: Tue, 14 Jan 2003 14:16:00 -0800 [thread overview]
Message-ID: <20030114141600.A26321@beaverton.ibm.com> (raw)
In-Reply-To: <OF9F3B7202.124F5C84-ONC1256CAE.00739F33@de.ibm.com>; from MPESCHKE@de.ibm.com on Tue, Jan 14, 2003 at 10:29:16PM +0100
On Tue, Jan 14, 2003 at 10:29:16PM +0100, Martin Peschke3 wrote:
>
> Patrick,
>
> > Yes, so the driver-to-HBA interface does not have to be use 8 byte LUNs
> > (not that I agree with that approach), but FCP must use 8 bytes.
>
> No. This is a contradiction in terms.
> Still, I can't see how to have a valid 8 byte LUN at hand for SCSI
> devices using 8 byte LUNs if we apply a lossy compression to LUNs
> in the SCSI stack.
As long as the truncated values are to be zero, it is not a problem.
> > The qlogic uses a 2 byte lun for host -> adapter communication, even
> > though it sends an 8 byte lun to the target. For most targets, just using
> > the upper two bytes is OK, I don't know what they do for the different
> > scsi addressing modes.
>
> However this is done in detail, it is guessing in place of reliable
> addressing.
>
> I would like to come to an agreement that the method of scsilun_to_int
> is wrong and that we have to care for 64 bit LUNs in the SCSI core,
> i.e. store LUNs as they are provided by the REPORT_LUNs response and
> passing them unchanged to HBA drivers.
I agree with that, I'm not planning on creating a patch for it. Someone
with the proper adapter and storage should probably work on a patch, and
there is currently (AFAIK!) only one open source driver that can handle an
8 byte lun :)
> The discussion about the implementation should be done after that as
> the second step.
I'd rather see a patch that has been tested with actual hardware.
Doug Gilbert has pointed out that we could have dual support for short
(current style) and long luns, and not bother fixing adapters that do not
or cannot support an 8 byte lun (all of SPI, and the current qlogic ones).
-- Patrick Mansfield
next prev parent reply other threads:[~2003-01-14 22:16 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-14 21:29 [PATCH] SCSI Core patches Martin Peschke3
2003-01-14 22:16 ` Patrick Mansfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-15 15:35 Martin Peschke3
2003-01-15 15:52 ` James Bottomley
2003-01-15 17:12 ` Mike Anderson
2003-01-15 17:40 ` Luben Tuikov
2003-01-14 20:37 Martin Peschke3
2003-01-14 21:27 ` Patrick Mansfield
2003-01-14 20:01 Martin Peschke3
2003-01-14 20:17 ` Patrick Mansfield
2003-01-14 16:19 Martin Peschke3
2003-01-14 16:51 ` Tony Battersby
2003-01-14 18:56 ` Patrick Mansfield
2003-01-07 13:56 Luben Tuikov
2003-01-07 18:21 ` Patrick Mansfield
2003-01-07 19:23 ` Luben Tuikov
2003-01-07 20:33 ` Patrick Mansfield
2003-01-07 22:14 ` Luben Tuikov
2003-01-08 1:36 ` Patrick Mansfield
2003-01-08 5:13 ` Luben Tuikov
2003-01-11 18:12 ` Christoph Hellwig
2003-01-13 20:33 ` Patrick Mansfield
2003-01-13 21:30 ` Luben Tuikov
2003-01-14 18:49 ` Patrick Mansfield
2003-01-14 19:52 ` Luben Tuikov
2003-01-07 19:44 ` Doug Ledford
2003-01-07 22:53 ` Patrick Mansfield
2003-01-08 17:33 ` Luben Tuikov
2003-01-08 21:13 ` Mike Anderson
2003-01-10 12:35 ` Andre Hedrick
2003-01-10 17:06 ` James Bottomley
2003-01-10 19:23 ` Luben Tuikov
2003-01-10 20:05 ` 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=20030114141600.A26321@beaverton.ibm.com \
--to=patmans@us.ibm.com \
--cc=MPESCHKE@de.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=luben@splentec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox