All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luben Tuikov <luben@splentec.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [RFC]: 64 bit LUN/Tags, dummy device in host_queue, host_lock <-> LLDD reentrancy
Date: Mon, 26 Aug 2002 16:48:57 -0400	[thread overview]
Message-ID: <3D6A9439.F713A042@splentec.com> (raw)
In-Reply-To: 20020826101748.B6694@eng2.beaverton.ibm.com

Patrick Mansfield wrote:
>
> If we are to add an 8 byte LUN:
> 
> We still need to allow a smaller lun for all of the current open source
> adapter drivers (AFAIK all open source drivers except the qlogic drivers
> use a one byte lun, and the qlogic uses a two byte lun) - either a field
> in Scsi_Device and/or Scsi_Cmnd, or a functional interface to get the
> equivalent four byte value (and then it can be assigned to a one or two
> byte value as is done today) in addition to any new 8 byte lun field.

For transition purposes, yes.

But, ideally, the LUN should be a function of the LLDD, since
it is the _LLDD_ which knows (then maybe not) about the transport
used (FCP, SPI, etc).

The kernel shouldn't care if the transport uses 5 bits (SPI) or
64 bits (iSCSI) for LUN identification, it should use the SAM-3
definition of 64 bits.

> The Scsi_Host::max_lun usage would have to remain for the old four byte

Certainly one can limit the scan, but we no more can enumerate it so
simply as it was done before.

There may be only 6 LU, with addresses scattered in the 64 bit space,
only to tell us that the transport is iSCSI and the target is
actually 4 daisy-chained SANs. (or something like that, you guys get the idea)

LUNs should be picked up from the REPORT LUNS report data, in order to
discover all the LUNs currently available, just because of the large
but sparse LUN space.

-- 
Luben

  reply	other threads:[~2002-08-26 20:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26  8:02 [RFC]: 64 bit LUN/Tags, dummy device in host_queue, host_lock <-> LLDD reentrancy Aron Zeh
2002-08-26 14:11 ` James Bottomley
2002-08-26 17:17 ` Patrick Mansfield
2002-08-26 20:48   ` Luben Tuikov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-26 17:01 Aron Zeh
2002-08-26 17:15 ` James Bottomley
2002-08-26 16:29 Aron Zeh
2002-08-26 16:48 ` James Bottomley
2002-08-26 17:27   ` Mike Anderson
2002-08-26 19:00     ` James Bottomley
2002-08-26 20:57       ` Mike Anderson
2002-08-26 21:10         ` James Bottomley
2002-08-26 22:38           ` Mike Anderson
2002-08-26 22:56             ` Patrick Mansfield
2002-08-26 23:10             ` Doug Ledford
2002-08-28 14:38             ` James Bottomley
2002-08-26 21:15         ` Mike Anderson
2002-08-23 20:27 Luben Tuikov
2002-08-26 16:16 ` Patrick Mansfield

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=3D6A9439.F713A042@splentec.com \
    --to=luben@splentec.com \
    --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 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.