diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2009-08-18 09:43:17 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-05 09:49:23 -0400 |
commit | 4544683a4b1d4e65ccca8c736bac56a195a5206b (patch) | |
tree | 0d536db8c6820405b69768922a8a61b8d1dcf00c /drivers/s390/scsi/zfcp_fsf.c | |
parent | 09a46c6e34ba152169b7400d266d2efb4c391a43 (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_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 70a978a14f2a..5b73f989a629 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -305,7 +305,7 @@ static void zfcp_fsf_status_read_handler(struct zfcp_fsf_req *req) | |||
305 | zfcp_fsf_req_free(req); | 305 | zfcp_fsf_req_free(req); |
306 | 306 | ||
307 | atomic_inc(&adapter->stat_miss); | 307 | atomic_inc(&adapter->stat_miss); |
308 | queue_work(zfcp_data.work_queue, &adapter->stat_work); | 308 | queue_work(adapter->work_queue, &adapter->stat_work); |
309 | } | 309 | } |
310 | 310 | ||
311 | static void zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *req) | 311 | static void zfcp_fsf_fsfstatus_qual_eval(struct zfcp_fsf_req *req) |