]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/s390/scsi/zfcp_def.h
[SCSI] zfcp: fix: allow more time for adapter initialization
authorAndreas Herrmann <aherrman@de.ibm.com>
Mon, 13 Jun 2005 11:15:15 +0000 (13:15 +0200)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 14 Jun 2005 02:26:41 +0000 (21:26 -0500)
commit22753fa514aad02342e647ad13048caa282d9238
treec21c84da406344fd055e226a2fb066bb19a3e673
parent66c8684abf80a9999392d639627afea80ac62e06
[SCSI] zfcp: fix: allow more time for adapter initialization

From: Maxim Shchetynin <maxim@de.ibm.com>

Extend the time for adapter initialization: In case of protocol
status HOST_CONNECTION_INITIALIZING for the exchange config data
command do a first retry in 1 second, then double the sleep time for
each following retry until recovery exceeds 2 minutes. The old
behaviour of allowing 6 retries with .5 seconds delay between retries
was insufficient and qdio queues were shut down too erarly.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c