Commit d81ad31c authored by Swen Schillig's avatar Swen Schillig Committed by James Bottomley

[SCSI] zfcp: no port recovery after storage side error inject

The remote port remains in error state even if the connection
is re-established. A wrong precondition check was performed on
the port status leading to a cancellation of the port reopen.
Remove the pre-req check because it's not required and better
handled within the ERP.
Signed-off-by: default avatarSwen Schillig <swen@vnet.ibm.com>
Signed-off-by: default avatarChristof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 94ab4b38
...@@ -432,11 +432,6 @@ void zfcp_fc_link_test_work(struct work_struct *work) ...@@ -432,11 +432,6 @@ void zfcp_fc_link_test_work(struct work_struct *work)
container_of(work, struct zfcp_port, test_link_work); container_of(work, struct zfcp_port, test_link_work);
int retval; int retval;
if (!(atomic_read(&port->status) & ZFCP_STATUS_COMMON_UNBLOCKED)) {
zfcp_port_put(port);
return; /* port erp is running and will update rport status */
}
zfcp_port_get(port); zfcp_port_get(port);
port->rport_task = RPORT_DEL; port->rport_task = RPORT_DEL;
zfcp_scsi_rport_work(&port->rport_work); zfcp_scsi_rport_work(&port->rport_work);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment