linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: Christoph Hellwig <hch@infradead.org>
Cc: "Moore, Eric Dean" <Emoore@lsil.com>, linux-scsi@vger.kernel.org
Subject: CSMI [was: Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update]
Date: Fri, 05 Nov 2004 10:55:27 +1000	[thread overview]
Message-ID: <418ACF7F.3060809@torque.net> (raw)
In-Reply-To: <20041026103828.GC12026@infradead.org>

Christoph Hellwig wrote:
> On Mon, Oct 25, 2004 at 07:32:35PM -0400, Moore, Eric Dean wrote:
> 
>>All,
>>
>>We are pleased to announce the MPT Fusion release candidate for lk 2.6
> 
> 
> Some things that come to mind immediately:
> 
> 
>>
>>Highlights of this release:
>>·	SAS Support - 1064, 1066, 1068
> 
> 
> there's still tons of ioc->chip_type checks for SPI vs FC vs SAS - 
> please always use the new bus_type member
> 
> 
> 
>>·	csmi ioctl support
> 
> 
> rejected, this ioctl interface is completely horrible, even worse than
> the fc hbaapi.  Please help to provide a proper sas transport class similar
> to the fc one.

Christoph,
I'm not so sure why you want to reject this ioctl
at this stage when our existing infrastructure to handle
the 4 protocols that go through this SAS HBA is weak.
Those 4 protocols are:
   a) SSP (SCSI over a SAS transport) we should be able to
      handle this one ***  ****
   b) SMP is a packet like protocol meant mainly to probe
      and control expanders (think device discovery). The
      "target" is not necessarily a SCSI device and there
      is no concept of luns. Nice candidate for the sg driver.
   c) STP: ATA/ATAPI-7 tunnelled through a SAS transport with
      a SAS/sATA bridge probably hiding in an expander
   d) sATA: direct connect of a sATA disk to this SAS HBA

The t10 meeting next week will be considering the
"Common Storage Management Interface for SAS" (CSMI)
proposal. Here is a url for it:
ftp://ftp.t10.org/t10/document.04/04-284r0.pdf
This document names 3 target platforms: Windows, Linux
(2.4 and 2.6 series) and Netware.

This seems like a serious attempt to retrofit a control
(and passthrough) interface into existing OS SCSI stacks
at the LLD level. I have no information but I would expect
the Adaptec SAS HBA (when and if its Open source driver
becomes public) to follow the same (or a similar) route.


*** The primary SAS device identifier is a 64 bit SAS address
(naa 5, world wide unique). CSMI defines mapping functions
between the <h,c,t> like tuples that most OSes use in their
SCSI stacks (thanks to SPI) and SAS addresses. In short the CSMI
proposal looks like the distilled experience of writing real
SAS HBA drivers for several existing OSes.

**** Given the BCC (bridge controller commands) draft at t10
it would appear that SAS disk enclosure designers want to
command set convert ATA/ATAPI-7 into SPC in the enclosure.
That way sATA disks will appear as SAS disks (with a SCSI-ATA
pass-through command for awkward things like SMART). Such a
move would make the STP protocol superfluous.

Doug Gilbert
-
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

  reply	other threads:[~2004-11-05  0:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-25 23:32 [ANNOUNCE] MPT Fusion driver 3.02.06 update Moore, Eric Dean
2004-10-26  8:09 ` Masao Fukuchi
2004-10-26  8:20 ` Douglas Gilbert
2004-10-26  9:53 ` Christoph Hellwig
2004-10-26 10:38 ` Christoph Hellwig
2004-11-05  0:55   ` Douglas Gilbert [this message]
2004-11-05  8:23     ` CSMI [was: Re: [ANNOUNCE] MPT Fusion driver 3.02.06 update] Christoph Hellwig

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=418ACF7F.3060809@torque.net \
    --to=dougg@torque.net \
    --cc=Emoore@lsil.com \
    --cc=hch@infradead.org \
    --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;
as well as URLs for NNTP newsgroup(s).