]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] libata: enforce default EH actions
authorTejun Heo <htejun@gmail.com>
Tue, 16 May 2006 03:58:24 +0000 (12:58 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 20 May 2006 04:39:08 +0000 (00:39 -0400)
commita20f33ffde8ba5fb27666aa1e228a45b7e3b8dcb
tree850a2717f3861470a0020272f98416e17d36e5bf
parenteec4c3f317991dc85c786ffccd9c1a8620c41b18
[PATCH] libata: enforce default EH actions

LLDDs rely on libata that certain EH actions are automatically taken
on some errors.  If the port is frozen or one or more qc's have failed
with HSM violation or timeout, softreset is enforced (LLDD can ask for
storonger EH action at will).  If any other error condition exists,
libata EH always revalidates.

This behavior existed in earlier revisions of new EH but lost during
development process.  This patch restores it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-eh.c