On Monday, December 09, 2013 8:47 PM Williams, Dan J <dan.j.williams@xxxxxxxxx> 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: <stable@xxxxxxxxxxxxxxx> > Reported-by: Xun Ni <xun.ni@xxxxxxxxx> > Tested-by: Xun Ni <xun.ni@xxxxxxxxx> > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Acked-by: Lukasz Dorau <lukasz.dorau@xxxxxxxxx> ��.n��������+%������w��{.n�����������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f