• Tejun Heo's avatar
    [PATCH] libata: enforce default EH actions · a20f33ff
    Tejun Heo authored
    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: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    a20f33ff
libata-eh.c 36.9 KB