Commit aa087b84977173395c0e3a1e0c1773314958f277

Authored by Kurt Hackel
Committed by Mark Fasheh
1 parent f42a100b22

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

fs/ocfs2/dlm/dlmmaster.c
... ... @@ -886,7 +886,7 @@
886 886 }
887 887  
888 888 dlm_kick_recovery_thread(dlm);
889   - msleep(100);
  889 + msleep(1000);
890 890 dlm_wait_for_recovery(dlm);
891 891  
892 892 spin_lock(&dlm->spinlock);