linux/drivers/hwmon/drivetemp.c
Russell Harmon d15dfc4e57 hwmon: (drivetemp) Set scsi command timeout to 10s
[ Upstream commit b46ba47d7b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-01 18:39:36 +01:00

627 lines
17 KiB