Skip to content

Commit

Permalink
ocfs2: increase backoff before waiting for recovery
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kurt Hackel authored and Mark Fasheh committed Jun 26, 2006
1 parent f42a100 commit aa087b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/dlm/dlmmaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aa087b8

Please sign in to comment.