All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luben Tuikov <luben_tuikov@adaptec.com>
To: James Bottomley <jejb@steeleye.com>
Cc: Christoph Hellwig <hch@lst.de>,
	SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] allow a transport to pre-initialize starget_data
Date: Mon, 15 Aug 2005 11:41:56 -0400	[thread overview]
Message-ID: <4300B7C4.8060400@adaptec.com> (raw)
In-Reply-To: <1124119431.5089.9.camel@mulgrave>

Hi guys, :-)

That's a lot of email. :-)

On 08/15/05 11:23, James Bottomley wrote:
> On Mon, 2005-08-15 at 11:18 -0400, Luben Tuikov wrote:
> 
>>While you're at it, rip out the extremely broken "channel" and "id",
>>and leave only the opaque token.
> 
> 
> Unfortunately, I just found an actual use for channel (exposing
> underlying physical discs of raid devices) and, unfortunately, we're
> still not yet at the point where we can use an opaque token for ID, but
> if someone wants to look into what it would take to convert the rest of
> SCSI ...

Hmm, you've 
    "found an actual use for channel (exposing underlying physical discs
     of raid devices)".

I'm completely befuddled James.

What if we didn't have "channel" (SPI leftover) in the first place?
Or, if an LU is implemented as a RAID device, how do you find out its
individual disks?

Is there a spec or standard that you're following in doing this?

On 08/15/05 11:25, Christoph Hellwig wrote:
> On Mon, Aug 15, 2005 at 11:18:10AM -0400, Luben Tuikov wrote:
> 
>>On 08/15/05 09:42, Christoph Hellwig wrote:
>>
>>>Add a new void *transport_data argument to scsi_scan_target so that a
>>>transport-class can fill in known information before actually scanning
>>>the target.  This is needed by the upcoming SAS transport class patch.
>>
>>Hmm, yes, this has been due for 5 years now.
>>
>>While you're at it, rip out the extremely broken "channel" and "id",
>>and leave only the opaque token.
> 
> Well, it's not a token but pre-initialized data.  The problem with
> ripping out channel and id is that userland would break all over,
> else we'd have done it already.

Ah, ok.

Is it possible to figure out which parts of userland rely on
HCIL tuples, as opposed to "scsi device I can send commands to"?

Than we can fix those userland programs and we can move into
the future.

	Luben








  reply	other threads:[~2005-08-15 15:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 13:42 [PATCH] allow a transport to pre-initialize starget_data Christoph Hellwig
2005-08-15 15:14 ` James Bottomley
2005-08-15 15:18 ` Luben Tuikov
2005-08-15 15:23   ` James Bottomley
2005-08-15 15:41     ` Luben Tuikov [this message]
2005-08-15 15:53       ` James Bottomley
2005-08-15 16:10         ` Luben Tuikov
2005-08-15 16:32           ` James Bottomley
2005-08-15 16:40             ` Luben Tuikov
2005-08-15 15:25   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2005-08-18 14:17 James.Smart

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=4300B7C4.8060400@adaptec.com \
    --to=luben_tuikov@adaptec.com \
    --cc=hch@lst.de \
    --cc=jejb@steeleye.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.