diff options
author | Tejun Heo <htejun@gmail.com> | 2007-10-31 10:17:04 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-03 08:46:54 -0400 |
commit | 08cf69d005acda706bc014c61301993758ce9c5f (patch) | |
tree | a7254a45b25ea52bc77a3340650a9b45386f1650 /kernel | |
parent | 416dc9ed206bba09807300ee5f155a81cebbd4a1 (diff) |
libata: more robust reset failure handling
Reset failure is a critical error. It results in disabling the link
requiring user intervention to re-enable it. Make reset failure
handling more robust such that libata EH doesn't give up too early.
* Temporary glitches during hardreset may lead to classification
failure when there's no softreset available. Retry instead of
giving up.
* Initial softreset or follow up softreset may fail classification.
Move classification error handling block out of followup softreset
block such that both cases are handled and retry instead of giving
up. Also, on the last try, give ATA class a blind shot.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions