Re: Disk spin down issue on shut down/suspend to disk
From: Tejun Heo
Date: Tue Aug 07 2007 - 09:10:35 EST
Hello, Henrique.
Henrique de Moraes Holschuh wrote:
>> approximately translates into "if you have too many boatmen on a ship,
>> it goes to mountain". We also have a bunch of Toshiba laptops which
>
> Yeah, that's a problem. But we can avoid it if we start snooping what ACPI
> is asking us to deliver to the disks, which IMO is an extremely good idea
> anyway.
If it were done that way (by asking OS driver to deliver commands TFs),
I wouldn't have any problem at all. The spin down command is issued
from deep down in the acpi power off method - entering S5 directly
issues ATA commands bypassing the whole OS except for the ACPI
interpreter. It's just like the toshiba suspend crap and there's no
standard way to tell whether the acpi power off method is gonna do it or
not. We'll just have to blacklist it.
Thanks.
--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/