All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Francesco Pretto <ceztko@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Fixing halt/shutdown for libata spindown handling
Date: Tue, 15 May 2007 12:42:07 +0200	[thread overview]
Message-ID: <46498E7F.6040201@gmail.com> (raw)
In-Reply-To: <loom.20070515T122357-890@post.gmane.org>

Francesco Pretto wrote:
> Tejun Heo <htejun <at> gmail.com> writes:
>>> Final question: should spindown_compat be set to 0 for both shutdown and
>>> reboot, or just shutdown?
>> It doesn't really matter.  It just needs to be set while powering down.
>>  You can set it anywhere, during boot, in shutdown.
>>
>> Thanks.
>>
> 
> Hibernate/suspend shall be also considered. Setting it during boot it's one time
> for every poweroff conditions, but i can't say if it's the best approach.

The compat thing is only for shutdown/powerdown.  Kernel will always
flush and spindown disks on suspends.  So, really, it doesn't matter
when you set the variable.

-- 
tejun

  reply	other threads:[~2007-05-15 10:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  3:29 Fixing halt/shutdown for libata spindown handling Daniel Drake
2007-05-15  8:20 ` Tejun Heo
2007-05-15 10:31   ` Francesco Pretto
2007-05-15 10:42     ` Tejun Heo [this message]
2007-05-17  1:16   ` Daniel Drake
2007-05-17 15:27     ` Tejun Heo
2007-05-29 22:42       ` Daniel Drake

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=46498E7F.6040201@gmail.com \
    --to=htejun@gmail.com \
    --cc=ceztko@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.