[SCSI] zfcp: Move workqueue to adapter struct
authorSwen Schillig <swen@vnet.ibm.com>
Tue, 18 Aug 2009 13:43:17 +0000 (15:43 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 13:49:23 +0000 (08:49 -0500)
commit4544683a4b1d4e65ccca8c736bac56a195a5206b
tree0d536db8c6820405b69768922a8a61b8d1dcf00c
parent09a46c6e34ba152169b7400d266d2efb4c391a43
[SCSI] zfcp: Move workqueue to adapter struct

Remove the global driver work queue and replace it with a workqueue
local to the adapter. The usage of this workqueue makes this the
correct place for the structure. In addition multiple adapters won't
block each other due to the serialization of the queued work.

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>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_fc.c
drivers/s390/scsi/zfcp_fsf.c
drivers/s390/scsi/zfcp_scsi.c