• Tejun Heo's avatar
    libata: fix handling of port actions in per-dev action mask · 79a55b72
    Tejun Heo authored
    libata EH ignores port-wide actions in per-dev action mask.  However,
    device resume requests EH_SOFTRESET using per-dev action mask.  Under
    certain circumstances, this results in not resetting frozen port after
    resuming which causes failure of all commands.
    
    This patch allows port-wide actions to be requested in per-dev action
    mask.  Before EH recovery starts, port-wide actions will be collected.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    79a55b72
libata-eh.c 54.8 KB