On Monday, December 09, 2013 8:47 PM Williams, Dan J <[email protected]> wrote: > Remove an erroneous BUG_ON() in the case of a hard reset timeout. If a > SATA device is unable to restore the link in time we expect the port to > go back to the "awaiting link-up" state. Since the timeout path > notified libsas that the port is down, we want to notify libsas when it > returns and expect that the port may not be in the "resetting" state. > > Also, once we have notified that the port is down, in-progress resets should > abort immediately. Return -ENODEV from ->lldd_I_T_nexus_reset() to indicate > that libata error handling should end. > > Cc: <[email protected]> > Reported-by: Xun Ni <[email protected]> > Tested-by: Xun Ni <[email protected]> > Signed-off-by: Dan Williams <[email protected]>
Acked-by: Lukasz Dorau <[email protected]>

