Re: [PATCH] ATA drive spin-down

From: David Schultz <das_at_FreeBSD.ORG>
Date: Mon, 14 Apr 2003 02:21:53 -0700
On Sun, Apr 13, 2003, Soeren Schmidt wrote:
> It seems Cliff L. Biffle wrote:
> > Please find attached a kernel patch to enable ATA drive spin-down after a 
> > specified interval.  I'm using this on my laptop now with much success; I'm 
> > offering it primarily for testing purposes.  I'll toss it onto mobile if it 
> > seems okay.
> 
> Hmm, this could be a fine intermediate solution until I get the 
> infrastructure for real PM / SMART finished. I'll look this over and
> get it committed. One thing though the name ata_suspend is a bit
> off IMHO, something like ata_spindown/ata_standby would be more
> descriptive I think.

IMO, a more flexible scheme would be to send a ``suspend
immediate'' command to the drive at the appropriate time,
rather than having it time out all by itself.  The definition
of ``the appropriate time'' could be related to ACPI, values
of sysctls, or something user-definable.  But this patch is
cool, too.
Received on Mon Apr 14 2003 - 00:22:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC