* [PATCH 10/10] dlm: don't limit active work items
@ 2011-07-21 16:04 David Teigland
0 siblings, 0 replies; only message in thread
From: David Teigland @ 2011-07-21 16:04 UTC (permalink / raw)
To: linux-kernel
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>
---
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 4f29add..90e5997 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -267,7 +267,10 @@ void dlm_callback_work(struct work_struct *work)
int dlm_callback_start(struct dlm_ls *ls)
{
ls->ls_callback_wq = alloc_workqueue("dlm_callback",
- WQ_UNBOUND | WQ_MEM_RECLAIM, 1);
+ WQ_UNBOUND |
+ WQ_MEM_RECLAIM |
+ WQ_NON_REENTRANT,
+ 0);
if (!ls->ls_callback_wq) {
log_print("can't start dlm_callback workqueue");
return -ENOMEM;
--
1.7.6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-21 16:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 16:04 [PATCH 10/10] dlm: don't limit active work items David Teigland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®