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>
This commit is contained in:
Kurt Hackel 2006-05-01 12:02:07 -07:00 committed by Mark Fasheh
parent f42a100b22
commit aa087b8497
1 changed files with 1 additions and 1 deletions

View File

@ -886,7 +886,7 @@ struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm,
}
dlm_kick_recovery_thread(dlm);
msleep(100);
msleep(1000);
dlm_wait_for_recovery(dlm);
spin_lock(&dlm->spinlock);