[SCSI] zfcp: minor erp bug fixes
authorAndreas Herrmann <aherrman@de.ibm.com>
Wed, 2 Aug 2006 09:05:52 +0000 (11:05 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 Aug 2006 16:31:17 +0000 (11:31 -0500)
commitf6c0e7a7b3b6db15146877c0cef43b413af5b76e
tree2ac31f5ea2cd66eb3aff8c6a4584074be407319d
parentfea9d6c7bcd8ff1d60ff74f27ba483b3820b18a3
[SCSI] zfcp: minor erp bug fixes

Bug fixes for zfcp's erp:
- trigger adapter reopen if do_QDIO fails
- avoid erp deadlock if registration of scsi target or remote port hang
- do not treat as error if exchange port data fails
- decrease timeout for target reset and aborts
- mark unit failed if slave_destroy is called

Additionally some code cleanup was done:
- made some functions void when retval is not of interest
- shortened initialization of zfcp's host_template
- corrected some comments

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
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_scsi.c