zfcp: fix adapter erp when link is unplugged
Subsystems (3)
PATCH 2/4 zfcp: fix adapter erp when link is unplugged
Remove endless polling for replug of the local link. Just wait for link up notification.
Signed-off-by Andreas Herrmann <[email protected]>
---
drivers/s390/scsi/zfcp_def.h | 5 --- drivers/s390/scsi/zfcp_erp.c | 80 +++++++++++++++--------------------------- drivers/s390/scsi/zfcp_fsf.c | 74 ++++++++++++++++++++++----------------- 3 files changed, 69 insertions(+), 90 deletions(-)
41d46dbc33d5020cd3434b496eb204de0e8a2ed2
drivers/s390/scsi/zfcp_def.h +0 -5
@@ -152,11 +152,6 @@ typedef u32 scsi_lun_t;#define ZFCP_EXCHANGE_CONFIG_DATA_FIRST_SLEEP 100#define ZFCP_EXCHANGE_CONFIG_DATA_RETRIES 7 -/* Retry 5 times every 2 second, then every minute */ -#define ZFCP_EXCHANGE_PORT_DATA_SHORT_RETRIES 5 -#define ZFCP_EXCHANGE_PORT_DATA_SHORT_SLEEP 200 -#define ZFCP_EXCHANGE_PORT_DATA_LONG_SLEEP 6000 -/* timeout value for "default timer" for fsf requests */ #define ZFCP_FSF_REQUEST_TIMEOUT (60*HZ);
drivers/s390/scsi/zfcp_erp.c +28 -52
104 lines not on this page · raw message
drivers/s390/scsi/zfcp_fsf.c +41 -33
117 lines not on this page · raw message
Signature · 1 line
0.99.9n-g5a22