summaryrefslogtreecommitdiffstats
path: root/fs/dlm/recoverd.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-08-08 17:06:07 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-09 09:45:31 -0400
commitf6db1b8e724b071d144055b48da3827ce26dba1c (patch)
tree7812eb7ff88dbf638cc8bfd30d3e86aa1d35f0e1 /fs/dlm/recoverd.c
parent5ff519112af6a6dab0ad7f6b0b0a2dcfff273e5b (diff)
[DLM] abort recovery more quickly
When we abort one recovery to do another, break out of the ping_members() routine more quickly, and wake up the dlm_recoverd thread more quickly instead of waiting for it to time out. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/recoverd.c')
-rw-r--r--fs/dlm/recoverd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/recoverd.c b/fs/dlm/recoverd.c
index 70103533677..eac8e9fa67f 100644
--- a/fs/dlm/recoverd.c
+++ b/fs/dlm/recoverd.c
@@ -275,6 +275,7 @@ void dlm_recoverd_stop(struct dlm_ls *ls)
void dlm_recoverd_suspend(struct dlm_ls *ls)
{
+ wake_up(&ls->ls_wait_general);
mutex_lock(&ls->ls_recoverd_active);
}