Send/receive ATA cmds from a linux kernel module
From: Siddhartha Baral <hidden>
Date: 2017-02-02 16:32:56
We have a separate cooling device for HDD. On Thu, Feb 2, 2017 at 10:28 AM, [off-list ref] wrote:
On Thu, 02 Feb 2017 08:54:27 -0600, Siddhartha Baral said:quoted
I am trying to add a new thermal zone driver for HDD whichwillquoted
be part of the thermal framework in the kernel.First Law of Systems Programming: Never test for an error condition you don't know how to handle anyhow. If the disk reports that it is over-temperature, *what can you do about it*? If a CPU gets too hot you can reduce the clock frequency. You don't have that sort of option on a disk drive - especially from inside the kernel. You can't change its rotation rate, and throttling I/O won't significantly change the temperature (but can hang the system if writeback of dirty pages stops....)
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170202/bf97f296/attachment-0001.html