From: Tejun Heo <htejun@gmail.com>
To: Michel Lespinasse <walken@zoy.org>
Cc: Jeff Garzik <jeff@garzik.org>, linux-ide@vger.kernel.org
Subject: Re: SATA hotswap and write caches
Date: Fri, 08 Jun 2007 22:05:24 +0900 [thread overview]
Message-ID: <46695414.70807@gmail.com> (raw)
In-Reply-To: <20070604005341.GA3315@zoy.org>
Michel Lespinasse wrote:
> On Sun, Jun 03, 2007 at 10:24:38AM -0400, Jeff Garzik wrote:
>> Michel Lespinasse wrote:
>>> * Is there anything one needs to know before hot-removing a drive ?
>> Make sure all data is flushed to the drive before removing it.
>
> Sure. Is there a way to do that, though, other than using /sbin/halt
> which seems to have, errr, undesirable side-effects :)
>
> Ideally it'd be very nice if that was doable through /sys or /proc files.
> It'd also be nice if disk standby was user-controllable in this way too.
> (or maybe both as one step, i.e. a way to tell the kernel we'd like to
> take the disk out in the safest way possible).
If you're using barrier, you should be in the clear, I think.
--
tejun
prev parent reply other threads:[~2007-06-08 13:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-03 10:43 SATA hotswap and write caches Michel Lespinasse
2007-06-03 14:24 ` Jeff Garzik
2007-06-04 0:53 ` Michel Lespinasse
2007-06-08 13:05 ` Tejun Heo [this message]
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=46695414.70807@gmail.com \
--to=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=walken@zoy.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).