aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmmaster.c
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2006-05-01 16:54:07 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 17:43:12 -0400
commitb7084ab538ac2bd71ce494cf1cbbea9fe9db2c07 (patch)
treeb1d19839e9e7795fb1d86270c90008058e8860f7 /fs/ocfs2/dlm/dlmmaster.c
parentc27069e6cfa242a3b84eb3442934c6fe51ee9066 (diff)
ocfs2: wait for recovery when starting lock mastery
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmmaster.c')
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index 78ba77bf3a77..ed1601d1831c 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -899,6 +899,9 @@ redo_request:
899 } else 899 } else
900 wait_on_recovery = 0; 900 wait_on_recovery = 0;
901 spin_unlock(&dlm->spinlock); 901 spin_unlock(&dlm->spinlock);
902
903 if (wait_on_recovery)
904 dlm_wait_for_node_recovery(dlm, bit, 10000);
902 } 905 }
903 906
904 /* must wait for lock to be mastered elsewhere */ 907 /* must wait for lock to be mastered elsewhere */