linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michel Lespinasse <walken@zoy.org>
To: Jeff Garzik <jeff@garzik.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: SATA hotswap and write caches
Date: Sun, 3 Jun 2007 17:53:41 -0700	[thread overview]
Message-ID: <20070604005341.GA3315@zoy.org> (raw)
In-Reply-To: <4662CF26.6060902@garzik.org>

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).

-- 
Michel "Walken" Lespinasse
"Bill Gates is a monocle and a Persian cat away from being the villain
in a James Bond movie." -- Dennis Miller

  reply	other threads:[~2007-06-04  0:53 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 [this message]
2007-06-08 13:05     ` Tejun Heo

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=20070604005341.GA3315@zoy.org \
    --to=walken@zoy.org \
    --cc=jeff@garzik.org \
    --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).