Commit d40b0c34 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
  dlm: use single thread workqueues
parents 3aec46c1 6b155c8f
...@@ -1468,15 +1468,13 @@ static void work_stop(void) ...@@ -1468,15 +1468,13 @@ static void work_stop(void)
static int work_start(void) static int work_start(void)
{ {
recv_workqueue = alloc_workqueue("dlm_recv", WQ_MEM_RECLAIM | recv_workqueue = create_singlethread_workqueue("dlm_recv");
WQ_HIGHPRI | WQ_FREEZEABLE, 0);
if (!recv_workqueue) { if (!recv_workqueue) {
log_print("can't start dlm_recv"); log_print("can't start dlm_recv");
return -ENOMEM; return -ENOMEM;
} }
send_workqueue = alloc_workqueue("dlm_send", WQ_MEM_RECLAIM | send_workqueue = create_singlethread_workqueue("dlm_send");
WQ_HIGHPRI | WQ_FREEZEABLE, 0);
if (!send_workqueue) { if (!send_workqueue) {
log_print("can't start dlm_send"); log_print("can't start dlm_send");
destroy_workqueue(recv_workqueue); destroy_workqueue(recv_workqueue);
......
Markdown is supported
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