From: Ric Wheeler <ric@emc.com>
To: linux-ide@vger.kernel.org, Tejun Heo <htejun@gmail.com>,
Jeff Garzik <jgarzik@pobox.com>, Mark Lord <mlord@pobox.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: error handling - DMA to PIO step down sequence
Date: Wed, 20 Sep 2006 15:03:27 -0400 [thread overview]
Message-ID: <4511907F.1010104@emc.com> (raw)
Now that Tejun has put in the enhanced error handling (which is a big
jump forward), I have been trying to test and validate the code and the
assumptions.
Having spent far too much time on planes recently, broken only by
spending the other part of my time helping do root cause failure
analysis of drives, I have been questioning the validity of the way we
currently derate our p-ata and s-ata connected drives from DMA to slower
DMA to PIO and then spiral on down.
All of this is a long winded way of asking if this step down is ever
valid for either S-ATA (or even modern P-ATA) drives.
From what I see and what I hear from the way my colleagues handle drive
errors in non-linux code, this seems to be very aggressive and most
likely not justified with modern drives and hba's.
Derating should probably never happen on normal drive errors - even
those that might take 10's of seconds. Often, drives will try really,
really hard to recover and might eventually respond after internally
giving up after up to 30 seconds.
Also, NACK's from unsupported commands or any type of media errors
should not kick off this sequence.
Would this be a reasonable thing for a config option? Better to add yet
another blacklist for devices that might have a justified need for this
derating?
next reply other threads:[~2006-09-20 19:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-20 19:03 Ric Wheeler [this message]
2006-09-21 15:09 ` error handling - DMA to PIO step down sequence Tejun Heo
2006-09-21 16:26 ` Ric Wheeler
2006-09-21 17:04 ` Alan Cox
2006-09-21 16:50 ` Ric Wheeler
2006-09-21 16:58 ` Tejun Heo
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=4511907F.1010104@emc.com \
--to=ric@emc.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=htejun@gmail.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).