diff options
author | David Teigland <teigland@redhat.com> | 2007-05-18 17:58:15 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 11:22:31 +0400 |
commit | 85e86edf951a8a39954c0ba1edbe4a58827dcd5c (patch) | |
tree | 0d605cdea61d8301c20a87784456a660aba89017 /fs/dlm/lock.h | |
parent | 916297aad5de2363dccd531873eda55d4d6afb57 (diff) | |
download | linux-85e86edf951a8a39954c0ba1edbe4a58827dcd5c.tar.xz |
[DLM] block scand during recovery [1/6]
Don't let dlm_scand run during recovery since it may try to do a resource
directory removal while the directory nodes are changing.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lock.h')
-rw-r--r-- | fs/dlm/lock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/lock.h b/fs/dlm/lock.h index 64fc4ec40668..19403aa08739 100644 --- a/fs/dlm/lock.h +++ b/fs/dlm/lock.h @@ -24,6 +24,8 @@ void dlm_put_rsb(struct dlm_rsb *r); void dlm_hold_rsb(struct dlm_rsb *r); int dlm_put_lkb(struct dlm_lkb *lkb); void dlm_scan_rsbs(struct dlm_ls *ls); +int dlm_lock_recovery_try(struct dlm_ls *ls); +void dlm_unlock_recovery(struct dlm_ls *ls); int dlm_purge_locks(struct dlm_ls *ls); void dlm_purge_mstcpy_locks(struct dlm_rsb *r); |