From: Tejun Heo <htejun@gmail.com>
To: Scott James Remnant <scott@ubuntu.com>
Cc: linux-ide@vger.kernel.org, 114683@bugs.launchpad.net
Subject: Re: Serial ATA (SATA) shutdown info
Date: Thu, 17 May 2007 11:18:26 +0200 [thread overview]
Message-ID: <464C1DE2.8080501@gmail.com> (raw)
In-Reply-To: <1179317806.16527.73.camel@quest.netsplit.com>
Scott James Remnant wrote:
> On Wed, 2007-05-16 at 12:46 +0200, Tejun Heo wrote:
>
>>> I'll keep an eye on the thread you linked to, if we don't even need to
>>> write any zeros, we're definitely happy people :-)
>> Me happy too. :-)
>>
> Out of interest, do you know there is a hysterical need to sync() before
> one calls reboot()?
>
> I would have thought the kernel takes care of making sure it's own data
> structures are flushed to disk anyway, but I can't see the reference in
> the kernel code for where it might do this.
I dunno. I seem to recall there was discussion about disk driver not
flushing cache or something like that years ago but I could be imagining
things. With recent kernels, there's no reason for userland to do that
before shutting down. Kernel always flushes caches during shutdown, but
we can also afford some paranoia there as that doesn't cause any harm.
--
tejun
next prev parent reply other threads:[~2007-05-17 9:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 12:42 Serial ATA (SATA) shutdown info Scott James Remnant
2007-05-15 15:34 ` Tejun Heo
2007-05-15 15:46 ` Scott James Remnant
2007-05-16 10:46 ` Tejun Heo
2007-05-16 12:16 ` Scott James Remnant
2007-05-17 9:18 ` Tejun Heo [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-02 1:37 Alex
2007-09-02 11:41 ` Alex
2007-09-02 12:11 ` Matt Sealey
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=464C1DE2.8080501@gmail.com \
--to=htejun@gmail.com \
--cc=114683@bugs.launchpad.net \
--cc=linux-ide@vger.kernel.org \
--cc=scott@ubuntu.com \
/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).