aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2006-05-01 15:02:07 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 17:43:05 -0400
commitaa087b84977173395c0e3a1e0c1773314958f277 (patch)
tree6041ab7fc9adf9f4ca89894a5416847a26187f49
parentf42a100b2272bc5cb44fb2aa03526b436b1d6833 (diff)
ocfs2: increase backoff before waiting for recovery
When mastering non-recovery lock resources, additional time was frequently needed to allow the disk heartbeat to catch up with the network timeout. the recovery lock resource is time critical and avoids this path. Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
-rw-r--r--fs/ocfs2/dlm/dlmmaster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index 2e371e06894f..21081bcfa091 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -886,7 +886,7 @@ redo_request:
886 } 886 }
887 887
888 dlm_kick_recovery_thread(dlm); 888 dlm_kick_recovery_thread(dlm);
889 msleep(100); 889 msleep(1000);
890 dlm_wait_for_recovery(dlm); 890 dlm_wait_for_recovery(dlm);
891 891
892 spin_lock(&dlm->spinlock); 892 spin_lock(&dlm->spinlock);