Skip to content

bump smartctl timeout in helper

Harald Sitter requested to merge work/longertimeout into master

bad firmwares may cause ioctl calls to time out which takes notably longer than the standard 30 second timeout of qprocess. instead opt for a 65 second timeout which should be sufficient to allow for internal smartctl timeouts.

the only downside to a longer timeout is that potentially malfunctioning firmwares will slow down the refresh checks of other devices from finishing as well (since queries are sequential because kauth itself isn't re-entrant). on the plus side we'll then cover devices so long as they have data

BUG: 428844 FIXED-IN: 5.20.4

Merge request reports