OpenCloudOS-Kernel/drivers/s390/scsi
Christof Schmitt fdf234527a [SCSI] zfcp: Hold queue lock when checking port/unit handle for task management cmd
We need to hold the queue-lock when checking whether we still have a valid
unit/port handle for the task management command, i.e whether we can issue this
request for this unit/port. If the error recovery is about to close this
unit/port, then it competes for the queue-lock. If the close request issued by
the error recovery wins, then it is guaranteed that this unit/port has been
blocked for other requests.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-01-11 18:29:07 -06:00
..
Makefile [SCSI] zfcp: enhancement of zfcp debug features 2005-09-19 13:03:00 -05:00
zfcp_aux.c [SCSI] zfcp: Fix deadlock when adding invalid LUN 2008-01-11 18:22:40 -06:00
zfcp_ccw.c [SCSI] zfcp: Remove SCSI devices when removing complete adapter 2008-01-11 18:22:40 -06:00
zfcp_dbf.c [SCSI] zfcp: Reduce flood on hba trace 2008-01-11 18:22:40 -06:00
zfcp_def.h [SCSI] zfcp: fix use after free bug. 2008-01-11 18:29:00 -06:00
zfcp_erp.c [SCSI] zfcp: Hold queue lock when checking port handle for ELS command 2008-01-11 18:29:05 -06:00
zfcp_ext.h [SCSI] zfcp: whitespace cleanup 2007-10-12 14:47:21 -04:00
zfcp_fsf.c [SCSI] zfcp: Hold queue lock when checking port/unit handle for task management cmd 2008-01-11 18:29:07 -06:00
zfcp_fsf.h [SCSI] zfcp: whitespace cleanup 2007-10-12 14:47:21 -04:00
zfcp_qdio.c zfcp: sg chaining support 2007-10-16 11:21:00 +02:00
zfcp_scsi.c [SCSI] zfcp: Hold queue lock when checking port/unit handle for FCP command 2008-01-11 18:29:06 -06:00
zfcp_sysfs_adapter.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00
zfcp_sysfs_driver.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00
zfcp_sysfs_port.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00
zfcp_sysfs_unit.c [SCSI] zfcp: whitespace cleanup 2007-10-12 14:47:21 -04:00