IB/mlx5: Remove deprecated create_singlethread_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Mon, 15 Aug 2016 18:11:18 +0000 (23:41 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:29 +0000 (16:54 -0400)
commit3c856c82adc2cd4229ea91a82c00e91df5d44ddc
tree2a5730201cf03d22a94dab2046b1d2d82048495e
parent5e9ff9b0bf0a20e87c75506604a1233f6c37f335
IB/mlx5: 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 "cache->wq" queues work items &ent->work (maps to
cache_work_func) and &ent->dwork(maps to delayed_cache_work_func).
It has been identity converted.

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

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