linux/drivers/s390/scsi
Christof Schmitt af4de36d91 [SCSI] zfcp: Block scsi_eh thread for rport state BLOCKED
In case the SCSI error recovery starts because of a SCSI command
timeout, but then something else triggers the rport to be deleted, the
SCSI error recovery will run to the end and set the SCSI device
offline. To prevent this, call the FC transport function
fc_block_scsi_eh which waits until the rport leaves the BLOCKED state.
This guarantees that communication is possible if the rport is ONLINE,
or the SCSI devices will be removed if the rport state switches to
NOT_PRESENT.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-04 12:02:17 -06:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Improve ELS ADISC handling 2009-12-04 12:02:16 -06:00
zfcp_ccw.c [SCSI] zfcp: Remove STATUS_COMMON_REMOVE flag as it is not required anymore 2009-12-04 12:02:07 -06:00
zfcp_cfdc.c [SCSI] zfcp: Remove global config_mutex 2009-12-04 12:02:02 -06:00
zfcp_dbf.c [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_dbf.h [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_def.h [SCSI] zfcp: Update FSF error reporting 2009-12-04 12:02:16 -06:00
zfcp_erp.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_ext.h [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_fc.c [SCSI] zfcp: Improve ELS ADISC handling 2009-12-04 12:02:16 -06:00
zfcp_fc.h [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_fsf.c [SCSI] zfcp: Update FSF error reporting 2009-12-04 12:02:16 -06:00
zfcp_fsf.h [SCSI] zfcp: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_qdio.c [SCSI] zfcp: optimize zfcp_qdio_account 2009-09-05 08:49:49 -05:00
zfcp_scsi.c [SCSI] zfcp: Block scsi_eh thread for rport state BLOCKED 2009-12-04 12:02:17 -06:00
zfcp_sysfs.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00