From: "John W. Linville" <linville@tuxdriver.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
Mark Lord <mlord@pobox.com>
Subject: Re: A note on libata passthru patch
Date: Mon, 22 Aug 2005 08:26:05 -0400 [thread overview]
Message-ID: <20050822122603.GI2736@tuxdriver.com> (raw)
In-Reply-To: <4308F40E.3010109@pobox.com>
On Sun, Aug 21, 2005 at 05:37:18PM -0400, Jeff Garzik wrote:
>
> Something that Alan unintentionally reminded me, about the libata
> passthru patch: Some controllers require certain ATA commands to be
> synchronized at the host-wide level.
<snip>
> Currently probing is 100% synchronous, so our internal use of SET
> FEATURES - XFER MODE is safe. But when you turn on ATA passthru, it is
> not safe.
...except that the passthru code specifically filters-out the SET
FEATURES - XFER MODE command. (libata_scsi.c:1976)
> This is another issue that needs fixing before we can merge the ATA
> passthru feature, since the consequences can be serious.
I am by no means an expert either on ATA in general or on the oddities
and quirks of specific SATA controllers. I don't know if anyone else
interested in the fate of the passthru patch is such an expert or not,
but either way it would likely be helpful to list any other specific
synchronization issues known to date which might be problematic.
Presuming that such a list either exists or is likely to exist, does
anyone have suggestions for what needs to be done in the general
case here? Perhaps some infrastructure needs to be added to verify
that it is okay for the passthru stuff to issue a given command at a
given time on a given controller? Sounds complicated... Maybe some
infrastructure to quiesce _everything_ on the controller before
issuing a passthru command? Just thinking "out loud"...
I'd like to help (and I'd like the passthru stuff to be "in"), but
I need some guidance...
John
--
John W. Linville
linville@tuxdriver.com
prev parent reply other threads:[~2005-08-22 21:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-21 21:37 A note on libata passthru patch Jeff Garzik
2005-08-21 21:44 ` Mark Lord
2005-08-21 21:46 ` Jeff Garzik
2005-08-22 12:26 ` John W. Linville [this message]
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=20050822122603.GI2736@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=mlord@pobox.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).