bcache: Remove deprecated create_workqueue
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Tue, 7 Jun 2016 20:27:19 +0000 (01:57 +0530)
committerJens Axboe <axboe@fb.com>
Sun, 12 Jun 2016 02:03:04 +0000 (20:03 -0600)
commit81baf90af2dcc8259e99e2f236024524b55313fc
treed042b3d5d364ccae3e206615f5a3a1407e3e0859
parent288dab8a35a0bde426a09870943c8d3ee3a50dab
bcache: Remove deprecated create_workqueue

alloc_workqueue replaces deprecated create_workqueue().

Dedicated workqueues have been used since bcache_wq and moving_gc_wq
are workqueues for writes and are being used on a memory reclaim path.
WQ_MEM_RECLAIM has been set to ensure 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: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/super.c