Skip to content
Commit edd1ea2a authored by Bhaktipriya Shridhar's avatar Bhaktipriya Shridhar Committed by Mike Snitzer
Browse files

dm bufio: remove use of deprecated create_singlethread_workqueue()



The workqueue "dm_bufio_wq" queues a single work item &dm_bufio_work so
it doesn't require execution ordering.  Hence, alloc_workqueue() has
been used to replace the deprecated create_singlethread_workqueue().

The WQ_MEM_RECLAIM flag has been set since DM requires forward progress
under memory pressure.

Since there are fixed number of work items, explicit concurrency
limit is unnecessary here.

Signed-off-by: default avatarBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 5d0be84e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment