Message ID | cf80c4bae90f587cac975d69905f6dc7642a05e3.1634850725.git.mirq-linux@rere.qmqm.pl (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show |
Series | dm: make workqueue names device-specific | expand |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 76d9da49fda7..30830f737a9c 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1800,7 +1800,7 @@ static struct mapped_device *alloc_dev(int minor) format_dev_t(md->name, MKDEV(_major, minor)); - md->wq = alloc_workqueue("kdmflush", WQ_MEM_RECLAIM, 0); + md->wq = alloc_workqueue("kdmflush/%s", WQ_MEM_RECLAIM, 0, md->name); if (!md->wq) goto bad;