diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-13 19:59:57 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-01-13 19:59:57 +0000 |
commit | 4d4d66ab5322fa9b0f51842a76139387a40e1ce9 (patch) | |
tree | 37485e2fa56c38044c496ac5632e8304c5cc25db /drivers/md/dm.c | |
parent | f521f074abe7b3990f5df65482cdc3d851b80665 (diff) | |
download | linux-4d4d66ab5322fa9b0f51842a76139387a40e1ce9.tar.gz linux-4d4d66ab5322fa9b0f51842a76139387a40e1ce9.tar.bz2 linux-4d4d66ab5322fa9b0f51842a76139387a40e1ce9.zip |
dm: convert workqueues to alloc_ordered
Convert all create[_singlethread]_work() users to the new
alloc[_ordered]_workqueue(). This conversion is mechanical and
doesn't introduce any behavior change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 0de692176ad4..39aaa9290128 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1883,7 +1883,7 @@ static struct mapped_device *alloc_dev(int minor) add_disk(md->disk); format_dev_t(md->name, MKDEV(_major, minor)); - md->wq = create_singlethread_workqueue("kdmflush"); + md->wq = alloc_ordered_workqueue("kdmflush", WQ_MEM_RECLAIM); if (!md->wq) goto bad_thread; |