Re: Send/receive ATA cmds from a linux kernel module

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

 



We have a separate cooling device for HDD.

On Thu, Feb 2, 2017 at 10:28 AM, <valdis.kletnieks@xxxxxx> 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....)

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux