]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Gerald Schaefer <geraldsc@de.ibm.com> |
2 | Subject: zfcp: erp failed status bit will not be set | |
3 | References: bnc#482818,LTC#51962 | |
4 | ||
5 | Problem: It will not be necessary to set the erp failed status bit | |
6 | in case a scsi device is removed by the scsi mid layer. | |
7 | In the case a scsi device is unavailable for a short time | |
8 | (15 to 20 seconds) a FCP unit will not get on-line again. | |
9 | Solution: Do not change the status bits if slave destroy is called. | |
10 | ||
11 | Acked-by: John Jolly <jjolly@suse.de> | |
12 | --- | |
13 | drivers/s390/scsi/zfcp_scsi.c | 1 - | |
14 | 1 file changed, 1 deletion(-) | |
15 | ||
16 | Index: linux/drivers/s390/scsi/zfcp_scsi.c | |
17 | =================================================================== | |
18 | --- linux.orig/drivers/s390/scsi/zfcp_scsi.c | |
19 | +++ linux/drivers/s390/scsi/zfcp_scsi.c | |
20 | @@ -28,7 +28,6 @@ static void zfcp_scsi_slave_destroy(stru | |
21 | struct zfcp_unit *unit = (struct zfcp_unit *) sdpnt->hostdata; | |
22 | atomic_clear_mask(ZFCP_STATUS_UNIT_REGISTERED, &unit->status); | |
23 | unit->device = NULL; | |
24 | - zfcp_erp_unit_failed(unit, 12, NULL); | |
25 | zfcp_unit_put(unit); | |
26 | } | |
27 |