Send/receive ATA cmds from a linux kernel module

Siddhartha Baral baralsg at gmail.com
Thu Feb 2 11:32:56 EST 2017


We have a separate cooling device for HDD.

On Thu, Feb 2, 2017 at 10:28 AM, <valdis.kletnieks at vt.edu> wrote:

> On Thu, 02 Feb 2017 08:54:27 -0600, Siddhartha Baral said:
>
> >             I am trying to add a new thermal zone driver for HDD which
> will
> > 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 


More information about the Kernelnewbies mailing list