On Thu, 2007-05-17 at 16:43 +0200, Tejun Heo wrote:
I'll attach the updated version of http://linux-ata.org/shutdown.html
as a reply to this mail.
It says:
When a disk is powered off, it needs to flush its write cache and then
unload its heads so that they don't crash onto the recording
On Sat, 19 May 2007, Tejun Heo wrote:
To fix this issue, halt(8) started issueing WIN_STANDBYNOW1 (0xE0) and
WIN_STANDBYNOW2 (0x94) ioctls before halt and poweroff, as that was more
reliable than flush cache and the effect was the same.
One culprit there is that, according to the spec,
Henrique de Moraes Holschuh wrote:
Well, the reason I raised the ruckus in the first place was just the
emergency unload, yes. I didn't know about any missing cache flushes (and
AFAIK we never had any reported to us). We will have to fix that in halt(8)
IMHO, just in case. And probably