[PATCH] ATA drive spin-down
David Schultz
das at FreeBSD.ORG
Mon Apr 14 02:22:02 PDT 2003
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.
More information about the freebsd-current
mailing list