summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-10-31 02:17:04 +0100
committerJeff Garzik <jeff@garzik.org>2007-11-03 13:46:54 +0100
commit08cf69d005acda706bc014c61301993758ce9c5f (patch)
treea7254a45b25ea52bc77a3340650a9b45386f1650 /init
parentlibata: cosmetic clean up / reorganization of ata_eh_reset() (diff)
downloadlinux-08cf69d005acda706bc014c61301993758ce9c5f.tar.xz
linux-08cf69d005acda706bc014c61301993758ce9c5f.zip
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 'init')
0 files changed, 0 insertions, 0 deletions