diff options
author | David Teigland <teigland@redhat.com> | 2006-08-08 18:06:07 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-09 09:45:31 -0400 |
commit | f6db1b8e724b071d144055b48da3827ce26dba1c (patch) | |
tree | 7812eb7ff88dbf638cc8bfd30d3e86aa1d35f0e1 /fs/dlm/recoverd.c | |
parent | 5ff519112af6a6dab0ad7f6b0b0a2dcfff273e5b (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/recoverd.c b/fs/dlm/recoverd.c index 70103533677d..eac8e9fa67f1 100644 --- a/fs/dlm/recoverd.c +++ b/fs/dlm/recoverd.c | |||
@@ -275,6 +275,7 @@ void dlm_recoverd_stop(struct dlm_ls *ls) | |||
275 | 275 | ||
276 | void dlm_recoverd_suspend(struct dlm_ls *ls) | 276 | void dlm_recoverd_suspend(struct dlm_ls *ls) |
277 | { | 277 | { |
278 | wake_up(&ls->ls_wait_general); | ||
278 | mutex_lock(&ls->ls_recoverd_active); | 279 | mutex_lock(&ls->ls_recoverd_active); |
279 | } | 280 | } |
280 | 281 | ||