RDMA: Update workqueue usage
authorTejun Heo <tj@kernel.org>
Tue, 19 Oct 2010 15:24:36 +0000 (15:24 +0000)
committerRoland Dreier <rolandd@cisco.com>
Mon, 17 Jan 2011 05:16:31 +0000 (21:16 -0800)
commitf06267104dd9112f11586830d22501d0e26245ea
tree8f7c364abc84a5f69269974eaa2b955b24d8f421
parent948579cd8c6ea7c8c98c52b79f4470952e182ebd
RDMA: Update workqueue usage

* ib_wq is added, which is used as the common workqueue for infiniband
  instead of the system workqueue.  All system workqueue usages
  including flush_scheduled_work() callers are converted to use and
  flush ib_wq.

* cancel_delayed_work() + flush_scheduled_work() converted to
  cancel_delayed_work_sync().

* qib_wq is removed and ib_wq is used instead.

This is to prepare for deprecation of flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
13 files changed:
drivers/infiniband/core/cache.c
drivers/infiniband/core/device.c
drivers/infiniband/core/sa_query.c
drivers/infiniband/core/umem.c
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_user_pages.c
drivers/infiniband/hw/qib/qib_iba7220.c
drivers/infiniband/hw/qib/qib_iba7322.c
drivers/infiniband/hw/qib/qib_init.c
drivers/infiniband/hw/qib/qib_qsfp.c
drivers/infiniband/hw/qib/qib_verbs.h
drivers/infiniband/ulp/srp/ib_srp.c
include/rdma/ib_verbs.h