Re: HDAPS, Need to park the head for real
From: Pavel Machek
Date: Thu Aug 18 2005 - 15:50:57 EST
Hi!
> I would suggest some sysfs file for doing this. The best approach would
Actually it is usefull for other devices, too... for power saving.
Some people call it "runtime power managment".
> sysfs attribute for this and we integrate a proper solution once the
> request type stuff is finalized. As the user api, I would suggest just
> echoing a timeout in seconds to the file. So:
>
> # echo 5 > /sys/block/hda/device/freeze
>
> would park the head, freeze queue, and unfreeze in 5 seconds.
Please make it "echo 1 > frozen", then userspace can do "echo 0 > frozen"
after five seconds.
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
-
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/