The following patches made over Martin's staging branch allow the user to config sd cmd retries. I didn't allow the user to set any old value and kept the max at 5. However, you can now turn it off and rely on the transport error handler to decide when to stop retrying. You can also decrease retries for cases for disks where there is no use in retrying 5 times. V2: - Drop excess () - Add comment about forcing completion in the request sense case - Use kstrtoint