android_kernel_xiaomi_sm8350/drivers/s390/scsi
Christof Schmitt 4c571c659e [SCSI] zfcp: Update FSF error reporting
The SCSI midlayer retries commands based on the remote port state and
the command status reported by the driver. Returning
DID_TRANSPORT_DISRUPTED is a better approach, use this for reporting
FSF errors back to the SCSI midlayer.  See
http://marc.info/?l=linux-scsi&m=125668044215051&w=2 as reference.

There is also no need in special treatment of ABORTED commands, so
remove the ZFCP_STATUS_FSFREQ_ABORTED, the commands are then returned
with DID_TRANSPORT_DISRUPTED.

Also remove the ZFCP_STATUS_FSFREQ_RETRY: It is useless, no retry is
happening in the FSF layer and nobody checks the state of this flag.

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:16 -06:00
..
Makefile
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: Simplify handling of ct and els requests 2009-12-04 12:02:15 -06:00
zfcp_sysfs.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00