1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: zfcp: no port recovery after storage side error inject
3 References: bnc#487755,LTC#52402
5 Symptom: The remote port remains in error state even if connection
7 Problem: A wrong precondition check was performed on the port status
8 leading to a cancellation of the port reopen.
9 Solution: Remove the pre-req check because it's not required and better
10 handled within the ERP.
12 Acked-by: John Jolly <jjolly@suse.de>
14 drivers/s390/scsi/zfcp_fc.c | 5 -----
15 1 file changed, 5 deletions(-)
17 Index: linux-sles11/drivers/s390/scsi/zfcp_fc.c
18 ===================================================================
19 --- linux-sles11.orig/drivers/s390/scsi/zfcp_fc.c
20 +++ linux-sles11/drivers/s390/scsi/zfcp_fc.c
21 @@ -430,11 +430,6 @@ void zfcp_fc_link_test_work(struct work_
22 container_of(work, struct zfcp_port, test_link_work);
25 - if (!(atomic_read(&port->status) & ZFCP_STATUS_COMMON_UNBLOCKED)) {
26 - zfcp_port_put(port);
27 - return; /* port erp is running and will update rport status */
31 port->rport_task = RPORT_DEL;
32 zfcp_scsi_rport_work(&port->rport_work);