]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Sat, 18 Jul 2020 12:32:10 +0000 (14:32 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 18 Jul 2020 15:11:44 +0000 (08:11 -0700)
commit868aafd14f10289826aa291dce2fb829a4cf5045
treed5562d306a9493f8974b0e47e6b1c1546cbd3b8e
parentc4a095bb8a68671f0f13f9105ff35cab15a1fda5
hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives

It has been observed that Toshiba DT01ACA family drives have
WRITE FPDMA QUEUED command timeouts and sometimes just freeze until
power-cycled under heavy write loads when their temperature is getting
polled in SCT mode. The SMART mode seems to be fine, though.

Let's make sure we don't use SCT mode for these drives then.

While only the 3 TB model was actually caught exhibiting the problem let's
play safe here to avoid data corruption and extend the ban to the whole
family.

Fixes: 8e55853efe1f ("hwmon: Driver for disk and solid state drives with temperature sensors")
Cc: stable@vger.kernel.org
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Link: https://lore.kernel.org/r/0cb2e7022b66c6d21d3f189a12a97878d0e7511b.1595075458.git.mail@maciej.szmigiero.name
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/drivetemp.c