diff options
author | David Teigland <teigland@redhat.com> | 2011-10-14 12:34:58 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2012-01-04 08:53:27 -0600 |
commit | f95a34c66554235b70a681fcd9feebc195f7ec0e (patch) | |
tree | fab03b65c76767e69ac0d58c1a7bae3bfae7459a /fs/dlm/member.c | |
parent | 9beb3bf5a92bb8fc6503f844bf0772df29f14a02 (diff) | |
download | op-kernel-dev-f95a34c66554235b70a681fcd9feebc195f7ec0e.zip op-kernel-dev-f95a34c66554235b70a681fcd9feebc195f7ec0e.tar.gz |
dlm: move recovery barrier calls
Put all the calls to recovery barriers in the same function
to clarify where they each happen. Should not change any behavior.
Also modify some recovery debug lines to make them consistent.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/member.c')
-rw-r--r-- | fs/dlm/member.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/dlm/member.c b/fs/dlm/member.c index b12532e..5ebd1df 100644 --- a/fs/dlm/member.c +++ b/fs/dlm/member.c @@ -251,7 +251,6 @@ int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out) ls->ls_low_nodeid = low; make_member_array(ls); - dlm_set_recover_status(ls, DLM_RS_NODES); *neg_out = neg; error = ping_members(ls); @@ -261,12 +260,8 @@ int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv, int *neg_out) ls->ls_members_result = error; complete(&ls->ls_members_done); } - if (error) - goto out; - error = dlm_recover_members_wait(ls); - out: - log_debug(ls, "total members %d error %d", ls->ls_num_nodes, error); + log_debug(ls, "dlm_recover_members %d nodes", ls->ls_num_nodes); return error; } |