linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Warner <andyw@pobox.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Andy Warner <andyw@pobox.com>, Brad Campbell <brad@wasp.net.au>,
	linux-ide@vger.kernel.org
Subject: Re: libata oops 2.6.11-rc4 yesterdays BK
Date: Wed, 16 Feb 2005 17:49:54 -0600	[thread overview]
Message-ID: <20050216174954.K10699@florence.linkmargin.com> (raw)
In-Reply-To: <4213CD9E.9040703@pobox.com>; from jgarzik@pobox.com on Wed, Feb 16, 2005 at 05:47:58PM -0500

Jeff Garzik wrote:
> [...]
> Does the PIO code deviate from the ATA/ATAPI-[4567] host state machine 
> somehow?

That I can't say (the ata/atapi docs make me want to put my
head under the wheel of a bus), but: on SMP machines the
implementation would turn into busy-waiting for every sector;
I have my suspicions about the ata_busy_wait() calls in
ata_pio_block(); I also looked at implementing ATA_PROT_PIO_MULT
with interrupt support, but then  ran out of time on the
project - what's there doesn't (didn't) use interrupts.

> Or is it just that newer SATA-emulating-PATA chips have trouble with it?

Could be, I for sure saw arbitration/starvation issues that
resulted in geological-grade delays getting status at the end
of some PIO transfers. The result was timeout errors under
heavy load. I believe that the SMP-machine-becomes-busy-wait-
monster bug probably caused the majority of these errors (I
could generate them after a few minutes testing), because I had
4 (fast-ish) cores conspiring to beat the crap out of 1 register
on a PCI card.
-- 
andyw@pobox.com

Andy Warner		Voice: (612) 801-8549	Fax: (208) 575-5634

  reply	other threads:[~2005-02-16 23:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-16  4:28 libata oops 2.6.11-rc4 yesterdays BK Brad Campbell
2005-02-16 11:01 ` Brad Campbell
2005-02-16 17:25   ` Jeff Garzik
2005-02-16 20:54     ` Brad Campbell
2005-02-16 21:40       ` Andy Warner
2005-02-16 22:47         ` Jeff Garzik
2005-02-16 23:49           ` Andy Warner [this message]
2005-02-16 23:58             ` Jeff Garzik
2005-02-17  0:20               ` Andy Warner
2005-02-17  5:08                 ` Jeff Garzik
2005-02-17 14:59                   ` Andy Warner
2005-02-17 19:13                     ` Jeff Garzik
2005-02-17 19:25                       ` Andy Warner
2005-02-17 22:36                         ` Jeff Garzik
2005-02-17 19:42                       ` Which SATA Combos To Consider? Danny Cox
2005-02-17 20:55                         ` Jeff Garzik
2005-02-18  0:25                         ` Ryan Bourgeois
2005-02-18  0:44                           ` Johny Ågotnes
2005-02-18  0:52                             ` Jeff Garzik
2005-02-21 23:50                               ` Johny Ågotnes
2005-02-21 23:50                               ` Johny Ågotnes
2005-02-22  1:55                                 ` Johny Ågotnes
2005-02-18  6:13         ` libata oops 2.6.11-rc4 yesterdays BK Brad Campbell
2005-02-19  4:14           ` Brad Campbell
2005-02-21  4:27             ` Brad Campbell
2005-02-22 10:09               ` Brad Campbell

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=20050216174954.K10699@florence.linkmargin.com \
    --to=andyw@pobox.com \
    --cc=brad@wasp.net.au \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@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).