Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[cascardo/linux.git] / drivers / infiniband / ulp / ipoib / ipoib_main.c
index cc1c1b0..5636fc3 100644 (file)
@@ -2196,7 +2196,8 @@ static int __init ipoib_init_module(void)
         * its private workqueue, and we only queue up flush events
         * on our global flush workqueue.  This avoids the deadlocks.
         */
-       ipoib_workqueue = create_singlethread_workqueue("ipoib_flush");
+       ipoib_workqueue = alloc_ordered_workqueue("ipoib_flush",
+                                                 WQ_MEM_RECLAIM);
        if (!ipoib_workqueue) {
                ret = -ENOMEM;
                goto err_fs;