From: Robert Hancock <hancockrwd@gmail.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: Mark Lord <liml@rtr.ca>, Chuck Ebbert <cebbert@redhat.com>,
Tejun Heo <tj@kernel.org>,
linux-ide@vger.kernel.org
Subject: Re: libata timeouts when stressing a Samsung HDD
Date: Wed, 11 Feb 2009 22:28:45 -0600 [thread overview]
Message-ID: <4993A57D.6010107@gmail.com> (raw)
In-Reply-To: <49934D24.1050204@garzik.org>
Jeff Garzik wrote:
> Mark Lord wrote:
>> I wonder if it's just a case of too short a timeout on the cache flushes?
>
> The answer in general to this question has always been "yes".....
>
> Unless this has changed in the past year, the worst case for SATA cache
> flush can definitely exceed 30 seconds... it is unbounded as defined in
> the spec, and unbounded in practice as well.
>
> Of course, users' patience is not unbounded :)
Yeah, it's pretty ludicrous for a cache flush to potentially take that
long. Theoretically if you had a 32MB write cache completely full with
completely non-contiguous sectors you could end up with it taking
something like 2 minutes or more to write out. However, the drive really
should be ensuring that it doesn't build up so much in the write cache
that a flush would takes this long - that is a lot of data that could be
lost on an unexpected power-off.
However, in this case the drive is not reporting Busy status at the
timeout, which suggests maybe an interrupt got lost or something. (Could
be still the drive's fault.)
Chuck, when this happens can you tell if the disk sounds like it is
grinding away until the timeout happens or is it just sitting there?
next prev parent reply other threads:[~2009-02-12 4:28 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 [this message]
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
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=4993A57D.6010107@gmail.com \
--to=hancockrwd@gmail.com \
--cc=cebbert@redhat.com \
--cc=jeff@garzik.org \
--cc=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=tj@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).