linux/drivers/s390/scsi
Christof Schmitt 801e0ced18 [SCSI] zfcp: Locking for req_no and req_seq_no
There is a possible race condition while generating the unique
request ids and sequence numbers. Both might be read at the
same time and have the same value. Fix this by serializing the
access through the queue lock of the adapter: First call
zfcp_fsf_req_sbal_get that acquires the lock, then read and
increment the unique ids.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-08 11:55:19 -05:00
..
Makefile [SCSI] zfcp: enhancement of zfcp debug features 2005-09-19 13:03:00 -05:00
zfcp_aux.c [SCSI] zfcp: print S_ID and D_ID with 3 bytes 2007-05-08 11:55:02 -05:00
zfcp_ccw.c [SCSI] zfcp: remove zfcp_ccw_unregister function 2006-09-23 17:49:52 -05:00
zfcp_dbf.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
zfcp_def.h [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
zfcp_erp.c [SCSI] zfcp: print S_ID and D_ID with 3 bytes 2007-05-08 11:55:02 -05:00
zfcp_ext.h Merge branch 'linus' 2007-02-10 13:45:43 -06:00
zfcp_fsf.c [SCSI] zfcp: Locking for req_no and req_seq_no 2007-05-08 11:55:19 -05:00
zfcp_fsf.h [SCSI] zfcp: (cleanup) removed superfluous macros, struct members, typedefs 2006-05-28 12:43:33 -04:00
zfcp_qdio.c [SCSI] zfcp: Stop system after memory corruption 2007-05-08 11:19:50 -05:00
zfcp_scsi.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01: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: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00