kernel-ark/drivers/s390/scsi
Christof Schmitt 339f4f4eab [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions
Exploit the cio siosl function to trigger logging in the FCP channel
on qdio error conditions. Add a helper function in zfcp_qdio to ensure
that tracing is only triggered once before calling qdio_shutdown.

Trigger in zfcp for hardware logs are:
 - timeout for FSF requests to the FCP channel
 - "no recommendation" status from FCP channel
 - invalid FSF protocol status
 - stalled outbound queue
 - unknown request id on inbound queue
 - QDIO_ERROR_SLSB_STATE

All of the above triggers run from the Linux qdio softirq context, so
no additional synchronization is necessary for the handling of the
ZFCP_STATUS_ADAPTER_SIOSL_ISSUED 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>
2010-07-28 09:48:58 -05:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Post events through FC transport class 2010-07-28 09:48:52 -05:00
zfcp_ccw.c [SCSI] zfcp: Rename sysfs_device attribute to dev in zfcp_unit and zfcp_port 2010-02-17 17:46:30 -06:00
zfcp_cfdc.c [SCSI] zfcp: Use memdup_user and kstrdup 2010-07-28 09:48:45 -05:00
zfcp_dbf.c [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_dbf.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_def.h [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions 2010-07-28 09:48:58 -05:00
zfcp_erp.c [SCSI] zfcp: Fix retry after failed "open port" erp action 2010-07-28 09:46:42 -05:00
zfcp_ext.h [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions 2010-07-28 09:48:58 -05:00
zfcp_fc.c [SCSI] zfcp: Post events through FC transport class 2010-07-28 09:48:52 -05:00
zfcp_fc.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_fsf.c [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions 2010-07-28 09:48:58 -05:00
zfcp_fsf.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_qdio.c [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions 2010-07-28 09:48:58 -05:00
zfcp_qdio.h [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_reqlist.h [SCSI] zfcp: Move FSF request tracking code to new file 2010-02-17 17:46:19 -06:00
zfcp_scsi.c [SCSI] zfcp: Introduce experimental support for DIF/DIX 2010-07-28 09:48:56 -05:00
zfcp_sysfs.c [SCSI] zfcp: Remove SCSI device when removing unit 2010-07-28 09:48:46 -05:00