diff options
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r-- | drivers/md/dm-snap-persistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c index 2129cdb115dc..d3021a69c857 100644 --- a/drivers/md/dm-snap-persistent.c +++ b/drivers/md/dm-snap-persistent.c | |||
@@ -818,7 +818,7 @@ static int persistent_ctr(struct dm_exception_store *store, | |||
818 | atomic_set(&ps->pending_count, 0); | 818 | atomic_set(&ps->pending_count, 0); |
819 | ps->callbacks = NULL; | 819 | ps->callbacks = NULL; |
820 | 820 | ||
821 | ps->metadata_wq = create_singlethread_workqueue("ksnaphd"); | 821 | ps->metadata_wq = alloc_ordered_workqueue("ksnaphd", WQ_MEM_RECLAIM); |
822 | if (!ps->metadata_wq) { | 822 | if (!ps->metadata_wq) { |
823 | kfree(ps); | 823 | kfree(ps); |
824 | DMERR("couldn't start header metadata update thread"); | 824 | DMERR("couldn't start header metadata update thread"); |