linux/drivers/s390/scsi
Christof Schmitt a2fa0aede0 [SCSI] zfcp: Block FC transport rports early on errors
Use the I/O blocking mechanism in the FC transport class to allow
faster failovers for multipathing:
- Call fc_remote_port_delete early to set the rport to BLOCKED.
- Check the rport status in queuecommand with fc_remote_portchkready
  to no longer accept new I/O for this port and fail the I/O with the
  appropriate scsi_cmnd result.
- Implement the terminate_rport_io handler to abort all pending I/O
  requests
- Return SCSI commands with DID_TRANSPORT_DISRUPTED while erp is
  running.
- When updating the remote port status, check for late changes and
  update the remote ports status accordingly.

Acked-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-12 12:58:21 -05:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_ccw.c [SCSI] zfcp: replace current ERP logging with a more convenient version 2009-03-12 12:58:20 -05:00
zfcp_cfdc.c [SCSI] zfcp: Remove adapter list 2008-12-29 11:24:36 -06:00
zfcp_dbf.c [SCSI] zfcp: replace current ERP logging with a more convenient version 2009-03-12 12:58:20 -05:00
zfcp_dbf.h [SCSI] zfcp: replace current ERP logging with a more convenient version 2009-03-12 12:58:20 -05:00
zfcp_def.h [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_erp.c [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_ext.h [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_fc.c [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_fsf.c [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_fsf.h [SCSI] zfcp: remove undefined subtype for status read response 2009-03-12 12:58:20 -05:00
zfcp_qdio.c [SCSI] zfcp: Remove PCI flag 2009-03-12 12:58:21 -05:00
zfcp_scsi.c [SCSI] zfcp: Block FC transport rports early on errors 2009-03-12 12:58:21 -05:00
zfcp_sysfs.c [SCSI] zfcp: replace current ERP logging with a more convenient version 2009-03-12 12:58:20 -05:00