]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ocfs2: increase backoff before waiting for recovery
authorKurt Hackel <kurt.hackel@oracle.com>
Mon, 1 May 2006 19:02:07 +0000 (12:02 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:05 +0000 (14:43 -0700)
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>
fs/ocfs2/dlm/dlmmaster.c

index 2e371e06894f0c7f04ad800558bf4c2d04e3a7d3..21081bcfa0914d360ebf74b49e89ab1637fcc1e2 100644 (file)
@@ -886,7 +886,7 @@ redo_request:
                } 
 
                dlm_kick_recovery_thread(dlm);
-               msleep(100);
+               msleep(1000);
                dlm_wait_for_recovery(dlm);
 
                spin_lock(&dlm->spinlock);