1
linux/drivers/s390/scsi
Swen Schillig 9eae07ef6b [SCSI] zfcp: Assign scheduled work to driver queue
The port_scan work was scheduled to the work_queue provided by the
kernel. This resulted on SMP systems to a likely situation that more
than one scan_work were processed in parallel. This is not required
and openes the possibility of race conditions between the removal of
invalid ports and the enqueue of just scanned ports.  This patch
synchronizes the scan_work tasks by scheduling them to adapter local
work_queue.

Signed-off-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>
2009-12-04 12:02:08 -06:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_ccw.c [SCSI] zfcp: Remove STATUS_COMMON_REMOVE flag as it is not required anymore 2009-12-04 12:02:07 -06:00
zfcp_cfdc.c [SCSI] zfcp: Remove global config_mutex 2009-12-04 12:02:02 -06:00
zfcp_dbf.c [SCSI] zfcp: Replace local reference counting with common kref 2009-12-04 12:02:02 -06:00
zfcp_dbf.h [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_def.h [SCSI] zfcp: Remove STATUS_COMMON_REMOVE flag as it is not required anymore 2009-12-04 12:02:07 -06:00
zfcp_erp.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_ext.h [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_fc.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_fsf.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00
zfcp_fsf.h [SCSI] zfcp: Move debug data from zfcp_data to own data structure 2009-09-05 08:49:06 -05:00
zfcp_qdio.c [SCSI] zfcp: optimize zfcp_qdio_account 2009-09-05 08:49:49 -05:00
zfcp_scsi.c [SCSI] zfcp: Replace local reference counting with common kref 2009-12-04 12:02:02 -06:00
zfcp_sysfs.c [SCSI] zfcp: Assign scheduled work to driver queue 2009-12-04 12:02:08 -06:00