Skip to content

Commit 10d1459

Browse files
committed
dlm: don't limit active work items
Allow multiple workqueue items (locks with callbacks) to be processed concurrently. There should be no reason not to take advantage of this workqueue feature. Signed-off-by: David Teigland <teigland@redhat.com>
1 parent 23e8e1a commit 10d1459

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎fs/dlm/ast.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,10 @@ void dlm_callback_work(struct work_struct *work)
267267
int dlm_callback_start(struct dlm_ls *ls)
268268
{
269269
ls->ls_callback_wq = alloc_workqueue("dlm_callback",
270-
WQ_UNBOUND | WQ_MEM_RECLAIM, 1);
270+
WQ_UNBOUND |
271+
WQ_MEM_RECLAIM |
272+
WQ_NON_REENTRANT,
273+
0);
271274
if (!ls->ls_callback_wq) {
272275
log_print("can't start dlm_callback workqueue");
273276
return -ENOMEM;

0 commit comments

Comments
 (0)