IB/mlx4/mcg: Remove deprecated create_singlethread_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Mon, 15 Aug 2016 18:13:35 +0000 (23:43 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:31 +0000 (16:54 -0400)
commitfcf621dd2ba2950a3a6717fc0a3c1f908107a546
tree95a1f03cfc61fb3be9f8ed31846207482b75afb2
parent90b14b3237ba58d4cc8f523e225e6a22f8e4927c
IB/mlx4/mcg: Remove deprecated create_singlethread_workqueue

alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces
deprecated create_singlethread_workqueue(). This is the identity
conversion.

The workqueue "mcg_wq" queues work items &group->work
and &group->timeout_work.

The workqueue "clean_wq" queues work item mcg_clean_task.

Both have been identity converted.

WQ_MEM_RECLAIM has been set to ensure forward progress under
memory pressure.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/mcg.c