提交 81456807 编写于 作者: D David Teigland 提交者: Steven Whitehouse

[DLM] schedule during long loop through locks

The loop through all waiting locks in recover_waiters can potentially be
long, so we should schedule explicitly.
Signed-off-by: NDavid Teigland <teigland@redhat.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 2b4e926a
......@@ -3193,6 +3193,7 @@ void dlm_recover_waiters_pre(struct dlm_ls *ls)
log_error(ls, "invalid lkb wait_type %d",
lkb->lkb_wait_type);
}
schedule();
}
mutex_unlock(&ls->ls_waiters_mutex);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册