linux-IllusionX/drivers/s390/scsi
Andreas Herrmann 1db2c9c093 [SCSI] zfcp: fix bug during adapter shutdown
Fixes a race between zfcp_fsf_req_dismiss_all and
zfcp_qdio_reqid_check. During adapter shutdown it occurred that a
request was cleaned up twice. First during its normal
completion. Second when dismiss_all was called.  The fix is to
serialize access to fsf request list between zfcp_fsf_req_dismiss_all
and zfcp_qdio_reqid_check and delete a fsf request from the list if
its completion is triggered.  (Additionally a rwlock was replaced by a
spinlock and fsf_req_cleanup was eliminated.)

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-06-13 21:32:48 -05:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zfcp_aux.c [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_ccw.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zfcp_def.h [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_erp.c [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_ext.h [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_fsf.c [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_fsf.h zfcp: add point-2-point support 2005-04-18 12:34:41 -05:00
zfcp_qdio.c [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_scsi.c [SCSI] zfcp: fix bug during adapter shutdown 2005-06-13 21:32:48 -05:00
zfcp_sysfs_adapter.c zfcp: add point-2-point support 2005-04-18 12:34:41 -05:00
zfcp_sysfs_driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zfcp_sysfs_port.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zfcp_sysfs_unit.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00