mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 09:56:46 +00:00
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
This commit is contained in:
commit
d40b0c3482
@ -1468,15 +1468,13 @@ static void work_stop(void)
|
||||
|
||||
static int work_start(void)
|
||||
{
|
||||
recv_workqueue = alloc_workqueue("dlm_recv", WQ_MEM_RECLAIM |
|
||||
WQ_HIGHPRI | WQ_FREEZEABLE, 0);
|
||||
recv_workqueue = create_singlethread_workqueue("dlm_recv");
|
||||
if (!recv_workqueue) {
|
||||
log_print("can't start dlm_recv");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
send_workqueue = alloc_workqueue("dlm_send", WQ_MEM_RECLAIM |
|
||||
WQ_HIGHPRI | WQ_FREEZEABLE, 0);
|
||||
send_workqueue = create_singlethread_workqueue("dlm_send");
|
||||
if (!send_workqueue) {
|
||||
log_print("can't start dlm_send");
|
||||
destroy_workqueue(recv_workqueue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user