RDS: IB: Remove deprecated create_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Tue, 7 Jun 2016 19:33:45 +0000 (01:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 05:52:28 +0000 (22:52 -0700)
commit231edca97f947f50e18fa2f6d9c8285c3314232b
tree0efd0fc4d24293e2dd5986df585e41cc88d79ba8
parent112b558d025712c0bbcefa3d07a4433dd3e32d27
RDS: IB: Remove deprecated create_workqueue

alloc_workqueue replaces deprecated create_workqueue().

Since the driver is infiniband which can be used as block device and the
workqueue seems involved in regular operation of the device, so a
dedicated workqueue has been used  with WQ_MEM_RECLAIM set to guarantee
forward progress under memory pressure.
Since there are only a fixed number of work items, explicit concurrency
limit is unnecessary here.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_rdma.c