]> git.ipfire.org Git - thirdparty/linux.git/commit
hwmon: (drivetemp) Set scsi command timeout to 10s
authorRussell Harmon <russ@har.mn>
Wed, 15 Jan 2025 13:13:41 +0000 (05:13 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 15 Jan 2025 14:22:13 +0000 (06:22 -0800)
commitb46ba47d7bb461a0969317be1f2e165c0571d6c5
tree495adf97d73d333944c3bb9788b5979d16c03433
parent8d6bf2e1055fa2cca4bf233f46d4d1e2086cc5ff
hwmon: (drivetemp) Set scsi command timeout to 10s

There's at least one drive (MaxDigitalData OOS14000G) such that if it
receives a large amount of I/O while entering an idle power state will
first exit idle before responding, including causing SMART temperature
requests to be delayed.

This causes the drivetemp request to exceed its timeout of 1 second.

Signed-off-by: Russell Harmon <russ@har.mn>
Link: https://lore.kernel.org/r/20250115131340.3178988-1-russ@har.mn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/drivetemp.c