mirror of https://gitee.com/openkylin/linux.git
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:
parent
f42a100b22
commit
aa087b8497
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue