From: Tejun Heo <htejun@gmail.com>
To: Bruce Allen <ballen@gravity.phys.uwm.edu>
Cc: Smartmontools Developers List
<smartmontools-devel@lists.sourceforge.net>,
Smartmontools Mailing List
<smartmontools-support@lists.sourceforge.net>,
Andrew Paprocki <andrew@ishiboo.com>,
linux-ide@vger.kernel.org
Subject: Re: smartd causing SATA timeouts on sleeping drives
Date: Thu, 11 Oct 2007 11:02:35 +0900 [thread overview]
Message-ID: <470D843B.3030405@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0710101435340.4797@trinity.phys.uwm.edu>
Hello, Bruce.
Bruce Allen wrote:
> Hmm, it sounds as if smartmontools should send a SRST to spin up the
> drive, but I do not know enough to be sure.
Eh... Now that I think about it. I don't think there's a way to work
around this from userland. smartmontools doesn't know the current power
mode (sleeping drive doesn't even respond to CHECK POWER MODE), so it
can't determine whether the device needs SRST or not and issuing SRST
unconditionally would cause a lot more problems.
Maybe what should be done is to track sleep mode in libata and issue
SRST automatically if a command is issued to a sleeping drive. I'll
work on it.
> Could I add you to the developers list and give you CVS write access?
> This might make it easier for you to fix the various little
> smartmontools problems like this that keep cropping up! Just fixing the
> code might be a lot faster than explaining it and sending patches...
>
> If this is OK with you, please send me your sourceforge username, and
> I'll add you to the developers list.
I'll stay chicken for the time being and only send patches. :-)
Thanks.
--
tejun
next prev parent reply other threads:[~2007-10-11 2:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-06 1:38 smartd causing SATA timeouts on sleeping drives Andrew Paprocki
2007-10-06 20:15 ` Tejun Heo
2007-10-08 5:51 ` Andrew Paprocki
2007-10-08 6:06 ` Tejun Heo
2007-10-08 6:32 ` Andrew Paprocki
2007-10-10 19:39 ` Bruce Allen
2007-10-11 2:02 ` Tejun Heo [this message]
2007-10-11 2:46 ` Andrew Paprocki
2007-10-11 3:06 ` Tejun Heo
2007-10-11 4:00 ` Andrew Paprocki
2007-10-12 9:15 ` [smartmontools-devel] " Bruce Allen
2007-10-10 19:42 ` Bruce Allen
2007-10-10 19:46 ` Bruce Allen
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=470D843B.3030405@gmail.com \
--to=htejun@gmail.com \
--cc=andrew@ishiboo.com \
--cc=ballen@gravity.phys.uwm.edu \
--cc=linux-ide@vger.kernel.org \
--cc=smartmontools-devel@lists.sourceforge.net \
--cc=smartmontools-support@lists.sourceforge.net \
/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).