[Ocfs2-commits] mfasheh commits r2504 -
branches/ocfs2-1.0/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Aug 11 15:52:41 CDT 2005
Author: mfasheh
Signed-off-by: manish
Date: 2005-08-11 15:52:40 -0500 (Thu, 11 Aug 2005)
New Revision: 2504
Modified:
branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c
Log:
* port svn 2503 from trunk:
* 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: branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c 2005-08-11 20:51:23 UTC (rev 2503)
+++ branches/ocfs2-1.0/fs/ocfs2/cluster/heartbeat.c 2005-08-11 20:52:40 UTC (rev 2504)
@@ -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