aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_def.h
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2009-08-18 09:43:17 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-09-05 09:49:23 -0400
commit4544683a4b1d4e65ccca8c736bac56a195a5206b (patch)
tree0d536db8c6820405b69768922a8a61b8d1dcf00c /drivers/s390/scsi/zfcp_def.h
parent09a46c6e34ba152169b7400d266d2efb4c391a43 (diff)
[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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r--drivers/s390/scsi/zfcp_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index 1e27ed5d90e0..2715a103e5a8 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -485,6 +485,7 @@ struct zfcp_adapter {
485 struct work_struct scan_work; 485 struct work_struct scan_work;
486 struct service_level service_level; 486 struct service_level service_level;
487 atomic_t qdio_outb_full; /* queue full incidents */ 487 atomic_t qdio_outb_full; /* queue full incidents */
488 struct workqueue_struct *work_queue;
488}; 489};
489 490
490struct zfcp_port { 491struct zfcp_port {
@@ -573,7 +574,6 @@ struct zfcp_data {
573 struct kmem_cache *qtcb_cache; 574 struct kmem_cache *qtcb_cache;
574 struct kmem_cache *sr_buffer_cache; 575 struct kmem_cache *sr_buffer_cache;
575 struct kmem_cache *gid_pn_cache; 576 struct kmem_cache *gid_pn_cache;
576 struct workqueue_struct *work_queue;
577}; 577};
578 578
579/********************** ZFCP SPECIFIC DEFINES ********************************/ 579/********************** ZFCP SPECIFIC DEFINES ********************************/