[Ocfs2-commits] smushran commits r2885 - branches/ocfs2-1.2/fs/ocfs2/dlm

svn-commits@oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 19 21:00:02 CDT 2006


Author: smushran
Signed-off-by: mfasheh
Signed-off-by: khackel
Date: 2006-04-19 21:00:02 -0500 (Wed, 19 Apr 2006)
New Revision: 2885

Modified:
   branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c
Log:
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: mfasheh
Signed-off-by: khackel

Modified: branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c	2006-04-20 01:55:44 UTC (rev 2884)
+++ branches/ocfs2-1.2/fs/ocfs2/dlm/dlmmaster.c	2006-04-20 02:00:02 UTC (rev 2885)
@@ -884,7 +884,7 @@
 
 		dlm_kick_recovery_thread(dlm);
 		/* TODO Look into replacing msleep with cond_resched() */
-		msleep(100);
+		msleep(1000);
 		dlm_wait_for_recovery(dlm);
 
 		spin_lock(&dlm->spinlock);




More information about the Ocfs2-commits mailing list