mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:50:59 +07:00
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>
This commit is contained in:
parent
23e8e1aaac
commit
10d1459faf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user