diff options
author | Martin Peschke <mp3@de.ibm.com> | 2007-11-15 13:57:08 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2007-11-16 13:02:57 -0600 |
commit | d0076f7754dce07c7a1d752034561acadd99eafa (patch) | |
tree | 97f742a384f71d1dbfa1d03bceca5dd8fc21e163 /drivers/watchdog/ib700wdt.c | |
parent | 5c1da582b3a95123ffb1e70ec7cd60e757c7c8c2 (diff) |
[SCSI] zfcp: fix dismissal of error recovery actions
zfcp_erp_action_dismiss() used to ignore any actions in the ready list. This
is a bug. Any action superseded by a stronger action needs to be dismissed.
This patch changes zfcp_erp_action_dismiss() so that it dismisses actions
regardless of their list affiliation. The ERP thread is able to handle this.
It is important to kick the erp thread only for actions in the running list,
though, as an imbalance of wakeup signals would confuse the erp thread
otherwise.
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Acked-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/watchdog/ib700wdt.c')
0 files changed, 0 insertions, 0 deletions