From: Douglas Gilbert <dougg@torque.net>
To: Luben Tuikov <luben_tuikov@adaptec.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
linux-scsi@vger.kernel.org, Tejun Heo <htejun@gmail.com>
Subject: Re: [PATCH] libata: write cache and read ahead
Date: Wed, 24 Aug 2005 21:03:49 +1000 [thread overview]
Message-ID: <430C5415.5000603@torque.net> (raw)
In-Reply-To: <430BAFD3.9000702@adaptec.com>
Luben Tuikov wrote:
> On 08/22/05 01:12, Douglas Gilbert wrote:
>
>>I was surprised how much code needed changing.
>>With MODE SELECT's issues with libata addressed
>>various other SAT "extras" should be much easier
>>to implement. That should make libata more attractive
>>as a SAT layer for SAS LLDDs (that don't do it already
>>in firmware).
>
>
> Doug, how about never needing a SAT layer for SAS LLDDs
> for ATA/ATAPI devices.
Well that might make things easier for the SAS LLDD
driver writer but may not change things a lot
upstream.
The primary target for SAT is a layer within SAS
enclosures/expanders sitting between a SATA
transport with one or more SATA disks at the other
end and SSP. Evidently SSP has advantages over STP
in this role. Further, SATL isolating SATA devices from
a multi-initiator SAS fabric, can manage SCSI tags
from multiple initiators and map them onto the SATA
disk's NCQ tags.
Basically SATL adds value at that level. [It is also
a useful document to improve all those horrible USB/1394
mass storage SCSI translation layers out there (but
I'm not holding my breath)].
So from the point of view of a SAS LLDD, SATA disks
(LUs) will appear both via STP and SSP.
> Would you object if I "give" you a "domain device" to which
> you can send FISes (+ the packet if ATAPI) through
> a SAM-4 intefrace: Execute Task + TMFs?
Well that is what CSMI (SDI) does and I think we will
be implementing its functionality one way or another ;-).
I just checked SDI and it allows the STP_PASSTHROUGH
to be replaced by a SAT (like) emulation. That is when
the SDI_STP_PASSTHROUGH ioctl can return SDI_SCSI_EMULATION
which tells the user to go away and use the SAT like
interface :-). That is why I said that it may not change
things a lot upstream.
As for ATAPI, 99% of the time it is conveying MMC set.
With BD and HD-DVD coming down the line, app writers
in that space probably won't want to worry about
transport issues any more than they absolutely need to.
SAT defines a "ATA information" VPD page (0x89) which
conveys back the response to IDENTIFY DEVICE (for
non-packet devices) or IDENTIFY PACKET DEVICE. SAT
also defines 12 byte and 16 bytes ATA PASSTHROUGH
SCSI commands which would be handy for smartmontools.
Looking at SAT draft, I would suggest that it is an immature
state, being work in progress (most recent teleconference:
yesterday). And libata is trailing SAT by a good bit.
And libata needs to slide over something like you are
suggesting to be useful in the SAS context.
I intend to take up the issue of SMP in another post.
Doug Gilbert
next prev parent reply other threads:[~2005-08-24 11:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-21 10:06 [PATCH] libata: write cache and read ahead Douglas Gilbert
2005-08-21 23:56 ` Jeff Garzik
2005-08-22 5:12 ` Douglas Gilbert
2005-08-22 5:34 ` Jeff Garzik
2005-08-23 23:22 ` Luben Tuikov
2005-08-24 9:16 ` Christoph Hellwig
2005-08-24 10:06 ` Jeff Garzik
2005-08-24 10:04 ` Jeff Garzik
2005-08-24 16:28 ` Luben Tuikov
2005-08-24 11:03 ` Douglas Gilbert [this message]
2005-08-24 16:41 ` Luben Tuikov
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=430C5415.5000603@torque.net \
--to=dougg@torque.net \
--cc=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-scsi@vger.kernel.org \
--cc=luben_tuikov@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 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.