From: Andy Warner <andyw@pobox.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Andy Warner <andyw@pobox.com>,
linville@redhat.com, linux-ide@vger.kernel.org
Subject: Re: [t13] RE: comment on T10 ATA-passthru
Date: Mon, 1 Nov 2004 20:12:41 -0600 [thread overview]
Message-ID: <20041101201240.A16317@florence.linkmargin.com> (raw)
In-Reply-To: <20041029205033.GA32007@havoc.gtf.org>; from jgarzik@pobox.com on Fri, Oct 29, 2004 at 04:50:33PM -0400
Jeff Garzik wrote:
> [I ask about NCQ ...]
> Most of the code is already written to assume that queueing is
> active. Turning on NCQ in libata is trivial. Handling errors and
> synchronization is less trivial :)
I guess I'm a little gun shy here :) Remember, my induction to
hotplug consisted of:
"That's because libata doesn't call the proper hot-unplug hooks.
Call those hooks, and the problem goes away."
I really don't want to hugely underestimate the effort involved.
Things that I can't quite see being in there right now
are the low-level state machine support for queued events,
and data structures and functions required to queue the pending
requests.
The boundary conditions you allude to seem likely to be
a pandora's box. Not the least of which will be ensuring
that queued and non-queued commands never mingle. It is
my understanding that any non-queued command will abort
*all* pending queued commands with unpredictable results
for data in flight.
What (if any) chip/board level driver work can be expected ?
--
andyw@pobox.com
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
next prev parent reply other threads:[~2004-11-02 2:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <A9B8FF43A76C0D42A80DDD73CF99BEC80548967B@azsmsx407>
[not found] ` <20041029142539.A29944@florence.linkmargin.com>
2004-10-29 19:43 ` [t13] RE: comment on T10 ATA-passthru Jeff Garzik
2004-10-29 20:39 ` Andy Warner
2004-10-29 20:50 ` Jeff Garzik
2004-10-29 21:16 ` Andy Warner
2004-11-02 2:12 ` Andy Warner [this message]
2004-11-15 0:43 ` libata and queueing (was Re: [t13] RE: comment on T10 ATA-passthru) 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=20041101201240.A16317@florence.linkmargin.com \
--to=andyw@pobox.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linville@redhat.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).