diff options
author | David Teigland <teigland@redhat.com> | 2011-07-18 16:28:34 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2011-07-19 15:22:32 -0400 |
commit | 10d1459fafbb02a18e7bc8f2c384a9e973560b00 (patch) | |
tree | 62d49123ba7425307c3d5ab909cc066fa2ee82e5 /fs/dlm | |
parent | 23e8e1aaacb10d9f05e44a93e10ea4ee5b3838a5 (diff) |
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/ast.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c index 4f29add0e7d1..90e5997262ea 100644 --- a/fs/dlm/ast.c +++ b/fs/dlm/ast.c | |||
@@ -267,7 +267,10 @@ void dlm_callback_work(struct work_struct *work) | |||
267 | int dlm_callback_start(struct dlm_ls *ls) | 267 | int dlm_callback_start(struct dlm_ls *ls) |
268 | { | 268 | { |
269 | ls->ls_callback_wq = alloc_workqueue("dlm_callback", | 269 | 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); | ||
271 | if (!ls->ls_callback_wq) { | 274 | if (!ls->ls_callback_wq) { |
272 | log_print("can't start dlm_callback workqueue"); | 275 | log_print("can't start dlm_callback workqueue"); |
273 | return -ENOMEM; | 276 | return -ENOMEM; |