Re: HDAPS, Need to park the head for real

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux