]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: o2hb: fix hb hung time
authorJunxiao Bi <junxiao.bi@oracle.com>
Fri, 27 Nov 2015 14:16:54 +0000 (22:16 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 5 May 2016 21:07:37 +0000 (14:07 -0700)
commit7eb4b1894a8fe0501d37c32af96cfdff7e2ad98d
tree1061e48c5a4899d6bca323dad5f03b3352d58f5f
parent66bdec675259e61334bc40bac7dfbad40c39d04d
ocfs2: o2hb: fix hb hung time

hr_last_timeout_start should be set as the last time where hb is still OK.
When hb write timeout, hung time will be (jiffies - hr_last_timeout_start).

Oracle-bug: 21862940

Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Reviewed-by: Ryan Ding <ryan.ding@oracle.com>
fs/ocfs2/cluster/heartbeat.c