• T
    libata: consider errors not associated with commands for speed down · dfcc173d
    Tejun Heo 提交于
    libata EH used to ignore errors not associated with commands when
    determining whether speed down is necessary or not.  This leads to the
    following problems.
    
    * Errors not associated with commands can occur indefinitely without
      libata EH taking corrective actions.
    
    * Upstream link errors don't trigger speed down when PMP is attached
      to it and commands issued to downstream device trigger errors on the
      upstream link.
    
    This patch makes ata_eh_link_autopsy() consider errors not associated
    with command for speed down.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    dfcc173d
libata-eh.c 70.9 KB