Re: HDAPS, Need to park the head for real

Pavel Machek
2005-08-18T20:50:12Z

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