Soft-resetting SATA devices in Linux
There are times when devices fail, or lock up.
In some of those cases it could be a SATA hard disk locking up (perhaps it is developing bad blocks, perhaps it just had a power failure due to a bad connector and got left in an undefined state).
Thankfully, Linux offers vast control over the hardware…