Send/receive ATA cmds from a linux kernel module
valdis.kletnieks at vt.edu
valdis.kletnieks at vt.edu
Thu Feb 2 11:28:15 EST 2017
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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170202/f3fd7ce4/attachment.bin
More information about the Kernelnewbies
mailing list