linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Luben Tuikov <luben_tuikov@adaptec.com>,
	"Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>, Eric.Moore@lsil.com
Subject: Re: Serial Attached SCSI Driver Interface (SDI)
Date: Mon, 15 Nov 2004 13:49:49 -0500	[thread overview]
Message-ID: <4198FA4D.3000206@pobox.com> (raw)
In-Reply-To: <4198F579.9080606@adaptec.com>

Luben Tuikov wrote:
> I don't want to speculate on whether it will or not be an ioctl
> mechanism.  But most importantly, by architecture design, SAS
> really _needs_ a control management infrastructure of its components
> and _maybe_ a representation somewhere in the OS.  Since it really
> represents a "storage network" and in certain instances a complicated
> one at that.
> 
> That control management infrastructure would be shared by (used by
> both) the OS and the kernel (for the appropriate functionaly 
> needed/provided).


Please don't misunderstand.  I certainly agree that a management 
infrastructure is needed, and yes, having a common one is preferred to 
having a different one in each driver.

I however disagree that this commonality can be factored out by 
committee (specification) that has no knowledge of Linux.  The motto of 
Linux is, "do what you must, and no more."  If you look at the history 
of Linux, _any_ time an API has been imposed upon Linux, inherent API 
disconnects appear almost immediately.

I would much rather see a sysfs interface (transport class like James is 
proposing) that specifies "knobs" (controls) needed under Linux... 
controls that are presumably not redundant to a pre-existing Linux 
knobs.  If you need 2.4.x compatibility, a driver can easily interface 
with a common 2.4.x "libfs" filesystem module.

This applies whether we are talking about RAID management or storage 
network management or SATA/SAS phy management.  Create a _Linux_ 
management interface that is common across vendors and drivers.

T10, SNIA, and all the other storage industry committees have a _zero_ 
percent track record for doing OS software APIs correctly.

Commonality: good.  API imposed upon Linux by non-Linux committee:  bad.

You can't write a Linux API without knowing Linux-related issues.

	Jeff



  reply	other threads:[~2004-11-15 18:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 17:48 Serial Attached SCSI Driver Interface (SDI) Salyzyn, Mark
2004-11-15 18:01 ` Jeff Garzik
2004-11-15 18:29   ` Luben Tuikov
2004-11-15 18:49     ` Jeff Garzik [this message]
2004-11-15 20:00       ` Luben Tuikov
2004-11-15 20:41         ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2004-11-15 18:14 Salyzyn, Mark
2004-11-15 22:47 ` Jeff Garzik
2004-11-15 17:40 Moore, Eric Dean
2004-11-15 17:22 Luben Tuikov
2004-11-15 17:40 ` Jeff Garzik

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=4198FA4D.3000206@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=Eric.Moore@lsil.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=luben_tuikov@adaptec.com \
    --cc=mark_salyzyn@adaptec.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;
as well as URLs for NNTP newsgroup(s).