linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Tim Small <tim@buttersideup.com>
Cc: linux-ide@vger.kernel.org, kristen.c.accardi@intel.com
Subject: Re: AHCI link power management and surprise hotplug
Date: Thu, 19 Mar 2009 14:06:55 -0400	[thread overview]
Message-ID: <49C289BF.8080602@garzik.org> (raw)
In-Reply-To: <49C22689.9050005@buttersideup.com>

Tim Small wrote:
> On a related topic, is there any way to do anything other than
> "surprise" removal with libata?  It'd be nice to put a drive to sleep
> (e.g. with "hdparm -Y"), and ensure that nothing comes along and causes
> the drive to be reset and spin the drive attached to that SATA port back
> up prior to a removal and reinsertion.
> 
> I'm assuming that physically unplugging a non-spinning drive is
> preferable to unplugging a spinning one from a drive longevity point of
> view (I use SATA drives as removable backup medium in some cases).


Unplugging the SATA cable is fine.  I wouldn't yank power while it's 
actively storing data, though.

	Jeff



  reply	other threads:[~2009-03-19 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19 11:03 AHCI link power management and surprise hotplug Tim Small
2009-03-19 18:06 ` Jeff Garzik [this message]
2009-03-20  1:56 ` Tejun Heo
2009-03-20 17:42 ` Kristen Carlson Accardi

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=49C289BF.8080602@garzik.org \
    --to=jeff@garzik.org \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tim@buttersideup.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).