Re:Xz format inadequate for long-term archiving (2016)
by zaphirplane on Thursday June 06, 2019 @03:56AM
(#20112459)
The link you posted talks about the raid software kicking a whole disk out of the raid array when the disk takes too long to respond (basically but not exactly) due to 2 timeout variables mismatch
The post I was responding to implied a raid array could be degraded and you wouldn’t know till it completely failed
Interesting nevertheless
In the case where the drive error timeout is longer than the SCSI block layer, it just results in a link reset. The actual problem with the drive is obscured by the reset, including the bad sector, so it never gets repaired.
Btrfs, mdadm, lvm are affected and I'm pretty sure ZFS on Linux as well assuming they haven't totally reimplemented their own block layer outside of the SCSI subsystem.
It's a super irritating problem, the kernel developers know all about it, but thus far it's considered something distributions should change for the use cases that need it. And what that means so far is distros don't change it and users using consumer drives with high error recovery times, get bitten.
https://raid.wiki.kernel.org/index.php/Timeout_Mismatch