linux-stable/drivers/s390/scsi
Christof Schmitt cbf1ed0264 [SCSI] zfcp: Recover from stalled outbound queue
Depending on interruptions on some storage systems, the complete
channel can stall which looks like an outbound queue stall to Linux.
When trying to acquire a free SBAL for a non-SCSI command, zfcp waits
for 5 seconds for a free slot to appear. This is the right place to
detect a queue stall: If the wait times out, we assume a stalled queue
and try to recover this.

The overall strategy should be to trigger the erp from specific
events, and not try an overall escalation from one failed port to a
full-blown queue recovery. If we manage to send a command, the status
codes for this command or a timeout will trigger the right follow-on
actions.

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@HansenPartnership.com>
2009-07-30 08:49:57 -05:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Add FC pass-through support 2009-06-12 14:20:05 -05:00
zfcp_ccw.c [S390] pm: zfcp driver power management callbacks 2009-06-16 10:31:14 +02:00
zfcp_cfdc.c [SCSI] zfcp: Reference counting for cfdc requests 2009-04-27 10:07:36 -05:00
zfcp_dbf.c [SCSI] zfcp: Use correct req_id for traces 2009-05-23 15:44:14 -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: Add FC pass-through support 2009-06-12 14:20:05 -05:00
zfcp_erp.c [SCSI] zfcp: Fix erp escalation procedure 2009-07-30 08:49:57 -05:00
zfcp_ext.h [SCSI] zfcp: Add FC pass-through support 2009-06-12 14:20:05 -05:00
zfcp_fc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2009-06-17 09:50:44 -07:00
zfcp_fsf.c [SCSI] zfcp: Recover from stalled outbound queue 2009-07-30 08:49:57 -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: Add FC pass-through support 2009-06-12 14:20:05 -05:00
zfcp_sysfs.c [SCSI] zfcp: Acquire qdio_stat_lock when reading the queue utilization 2009-07-30 08:49:54 -05:00