diff options
author | Bob Peterson <rpeterso@redhat.com> | 2016-10-19 11:34:54 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2016-10-19 12:13:04 -0400 |
commit | aa9f1012858bc7f44368f1e4453c989d873b0860 (patch) | |
tree | cf8329a420755c14ddc1071c20be7307c9b60af5 /fs/dlm | |
parent | d2fee58a3bb15b2b8f1eaff14aa3432cf0f35d8c (diff) |
dlm: don't specify WQ_UNBOUND for the ast callback workqueue
This patch removes the WQ_UNBOUND flag (which implies WQ_HIGHPRI)
from the DLM's ast work queue, in favor of just WQ_HIGHPRI.
This has been shown to cause a 19 percent performance increase for
simultaneous inode creates on GFS2 with fs_mark.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c index dcea1e37a1b7..07fed838d8fd 100644 --- a/fs/dlm/ast.c +++ b/fs/dlm/ast.c | |||
@@ -268,7 +268,7 @@ void dlm_callback_work(struct work_struct *work) | |||
268 | int dlm_callback_start(struct dlm_ls *ls) | 268 | int dlm_callback_start(struct dlm_ls *ls) |
269 | { | 269 | { |
270 | ls->ls_callback_wq = alloc_workqueue("dlm_callback", | 270 | ls->ls_callback_wq = alloc_workqueue("dlm_callback", |
271 | WQ_UNBOUND | WQ_MEM_RECLAIM, 0); | 271 | WQ_HIGHPRI | WQ_MEM_RECLAIM, 0); |
272 | if (!ls->ls_callback_wq) { | 272 | if (!ls->ls_callback_wq) { |
273 | log_print("can't start dlm_callback workqueue"); | 273 | log_print("can't start dlm_callback workqueue"); |
274 | return -ENOMEM; | 274 | return -ENOMEM; |