linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	linux-ide@vger.kernel.org, albertcc@tw.ibm.com, mlord@pobox.com,
	lkosewsk@gmail.com, luben_tuikov@adaptec.com,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	Jens Axboe <axboe@suse.de>
Subject: Re: [SUMMARY] libata EH
Date: Sat, 20 Aug 2005 21:02:48 +0100	[thread overview]
Message-ID: <1124568170.14518.13.camel@localhost.localdomain> (raw)
In-Reply-To: <430768E2.60808@gmail.com>

On Sul, 2005-08-21 at 02:31 +0900, Tejun Heo wrote:
>   My preference is toward unifying into single path as long as 
> performance penalty is acceptable for the sake of simplicity.

I don't think it is a big issue for ATA. The drive tends to take 10-15
seconds before it goes and whines at us, and it is hopefully not a fast
path.

> >>     * SCSI EH entrance is not synchronized with polling tasks.
> > 
> > 
> > Yes, this definitely needs fixing.
> > 
> > Luckily the polling task is very rarely used, by normal users.

The old IDE has this bug on reset paths too - and people do eventually
hit it.

> > - DMA errors should be handled by hueristics:  If more than $N (3?) DMA 
> > errors happen in 15 minutes,
> > * decrease SATA PHY speed.  if speed cannot be decreased,
> > * decrease UDMA xfer speed.  if at UDMA0, switch to PIO4
> > * decrease PIO xfer speed.  if at PIO3, complain, but continue

Remember this means issuing a command to the drive before re-issuing the
failed command. The old IDE also has serious problems with this as it
ends up trying to issue a polling command from an IRQ racing its own
timeout code. One good reason for the EH approach scsi takes of
quiescing first and running in task context.



  reply	other threads:[~2005-08-20 19:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-20  2:33 [SUMMARY] libata EH Tejun Heo
2005-08-20  4:48 ` Jeff Garzik
2005-08-20 17:31   ` Tejun Heo
2005-08-20 20:02     ` Alan Cox [this message]
2005-08-21  4:09     ` 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=1124568170.14518.13.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=albertcc@tw.ibm.com \
    --cc=axboe@suse.de \
    --cc=bzolnier@gmail.com \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=lkosewsk@gmail.com \
    --cc=luben_tuikov@adaptec.com \
    --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).