From: Stephen Clark <Stephen.Clark@seclark.us>
To: Tejun Heo <htejun@gmail.com>
Cc: Francesco Pretto <ceztko@gmail.com>, linux-ide@vger.kernel.org
Subject: Re: [PATCH] libata: track spindown status and skip spindown_compat if possible
Date: Tue, 15 May 2007 08:12:29 -0400 [thread overview]
Message-ID: <4649A3AD.8070108@seclark.us> (raw)
In-Reply-To: <4649A180.1050100@gmail.com>
Tejun Heo wrote:
>Francesco Pretto wrote:
>
>
>>Tejun Heo <htejun <at> gmail.com> writes:
>>
>>
>>>Our assumption that most distros issue STANDBYNOW seems wrong. The
>>>upstream sysvinit and thus many distros including gentoo and opensuse
>>>don't take any action for libata disks on spindown. We can skip
>>>compat handling for these distros so that they don't need to update
>>>anything to take advantage of kernel-side shutdown.
>>>
>>>
>>>
>>Working around the workaround won't make confusion? Won't this break again
>>implementations that was actually issuing STANDBYNOW, assuming that they
>>actually exist? Only wondering, can't say for any init implementation in
>>particular.
>>
>>
>
>Yeah, it's a big mess. With this patch applied, what happens is...
>
>* If your shutdown(8) does issue STANDBYNOW : you get the big fat
>warning and kernel won't issue STANDBYNOW.
>
>* If your shutdown(8) doesn't issue STANDBYNOW : kernel issues FLUSH
>CACHE followed by STANDBYNOW and all is well and dandy without any
>userland modification.
>
>I think it isn't too bad. Any better ideas?
>
>
>
Ok, I am running fc6 with kernel.org 2.6.21 what do I need to do to keep
my laptop from
popping, and having my retract_count increment, every time I shutdown?
Thanks,
Steve
--
"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety." (Ben Franklin)
"The course of history shows that as a government grows, liberty
decreases." (Thomas Jefferson)
next prev parent reply other threads:[~2007-05-15 12:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 10:29 [PATCH] libata: track spindown status and skip spindown_compat if possible Tejun Heo
2007-05-15 11:53 ` Francesco Pretto
2007-05-15 12:03 ` Tejun Heo
2007-05-15 12:12 ` Stephen Clark [this message]
2007-05-15 12:17 ` Tejun Heo
2007-05-15 16:44 ` Francesco Pretto
2007-05-16 5:22 ` 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=4649A3AD.8070108@seclark.us \
--to=stephen.clark@seclark.us \
--cc=ceztko@gmail.com \
--cc=htejun@gmail.com \
--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).