linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: Mark Lord <liml@rtr.ca>, Jeff Garzik <jeff@garzik.org>,
	Chuck Ebbert <cebbert@redhat.com>,
	linux-ide@vger.kernel.org
Subject: Re: libata timeouts when stressing a Samsung HDD
Date: Fri, 20 Feb 2009 12:26:50 +0900	[thread overview]
Message-ID: <499E22FA.7030409@kernel.org> (raw)
In-Reply-To: <499E1AD9.9020904@gmail.com>

Hello,

Robert Hancock wrote:
>>> If I recall correctly, The reported shadow register contents are bogus
>>> when a timeout occurs.  So we don't actually know what the drive
>>> state was.
>>>
>>> Or do we, Tejun?
>>
>> Yeah, it's bogus.  Maybe we should just report zeros.
> 
> Didn't know that. Shouldn't we be able to do a qc_fill_rtf before error
> handling in this case? That would make it easier to tell if we lost an
> interrupt or if the drive is just taking too long..

I think Alan already did it in the patches which added improved
timeout handling callback.  Hmmm... Can't find it.  I thought it was
in #upstream.  Anyways, I'm slightly worried about reading status
blindly after timeout mainly due to experiences I had early while
developing libata EH.  Some controllers were simply scary and very
eager to lock up the whole machine.  That said, it could be that I'm
just overly paranoid.  After all, with shared IRQ, we don't have
control over when altstatus is read at least.

Thanks.

-- 
tejun

  reply	other threads:[~2009-02-20  3:26 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-02 21:40 libata timeouts when stressing a Samsung HDD Chuck Ebbert
2009-02-11  1:30 ` Tejun Heo
2009-02-11  4:08   ` Mark Lord
2009-02-11 20:29     ` Chuck Ebbert
2009-02-11 22:03       ` Mark Lord
2009-02-11 22:11         ` Jeff Garzik
2009-02-11 22:29           ` Mark Lord
2009-02-11 22:54             ` Chuck Ebbert
2009-02-12 16:10               ` Mark Lord
2009-02-12 16:13                 ` Mark Lord
2009-02-16  3:12                   ` Tejun Heo
2009-02-16 21:30                     ` Chuck Ebbert
2009-02-19  6:21                       ` Tejun Heo
2009-02-19 16:41                         ` Greg Freemyer
2009-02-20  0:33                           ` Tejun Heo
2009-02-12  4:28           ` Robert Hancock
2009-02-19 15:27             ` Mark Lord
2009-02-20  0:32               ` Tejun Heo
2009-02-20  2:52                 ` Robert Hancock
2009-02-20  3:26                   ` Tejun Heo [this message]
2009-03-01 19:31                     ` Robert Hancock
2009-03-01 20:28                       ` Alan Cox
2009-02-11 20:24   ` Chuck Ebbert

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=499E22FA.7030409@kernel.org \
    --to=tj@kernel.org \
    --cc=cebbert@redhat.com \
    --cc=hancockrwd@gmail.com \
    --cc=jeff@garzik.org \
    --cc=liml@rtr.ca \
    --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).