]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.39/patches.arch/s390-12-03-zfcp_adjust_test_link_pre_reqs.patch
Imported linux-2.6.27.39 suse/xen patches.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / s390-12-03-zfcp_adjust_test_link_pre_reqs.patch
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
4
5 Symptom: The remote port remains in error state even if connection
6 is re-established.
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.
11
12 Acked-by: John Jolly <jjolly@suse.de>
13 ---
14 drivers/s390/scsi/zfcp_fc.c | 5 -----
15 1 file changed, 5 deletions(-)
16
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);
23 int retval;
24
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 */
28 - }
29 -
30 zfcp_port_get(port);
31 port->rport_task = RPORT_DEL;
32 zfcp_scsi_rport_work(&port->rport_work);