[Ocfs2-commits] mfasheh commits r2503 - trunk/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Aug 11 15:51:24 CDT 2005
Author: mfasheh
Signed-off-by: manish
Date: 2005-08-11 15:51:23 -0500 (Thu, 11 Aug 2005)
New Revision: 2503
Modified:
trunk/fs/ocfs2/cluster/heartbeat.c
Log:
* Fix a minor bug in the hb timeout tracking and actually set
hr_last_timeout_start so our printout of time spent is accurate.
Signed-off-by: manish
Modified: trunk/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- trunk/fs/ocfs2/cluster/heartbeat.c 2005-08-08 20:34:24 UTC (rev 2502)
+++ trunk/fs/ocfs2/cluster/heartbeat.c 2005-08-11 20:51:23 UTC (rev 2503)
@@ -153,6 +153,7 @@
mlog(0, "Queue write timeout for %u ms\n", O2HB_MAX_WRITE_TIMEOUT_MS);
cancel_delayed_work(®->hr_write_timeout_work);
+ reg->hr_last_timeout_start = jiffies;
schedule_delayed_work(®->hr_write_timeout_work,
msecs_to_jiffies(O2HB_MAX_WRITE_TIMEOUT_MS));
}
More information about the Ocfs2-commits
mailing list