[ltp] [PATCH] 2.6.18: Unload disks heads before powering down

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Sun, 1 Oct 2006 15:12:27 +0200

On 9/29/06, Henrique de Moraes Holschuh <hmh@hmh.eng.br> wrote:
> Log suspend/shutdown activity
> Tell the user when we spin down disks on suspend, and when flush > caches on
> shutdown.  This is useful to track down issues with bandaid > stuff in
> userspace halt(8), and also double-suspends on suspend-to-disk.

There's another code path: userspace (e.g., "hdparm -y") may issue a
STANDBY (IMMEDIATE) via an ioctl on the device.