We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88dbe98 commit 6633ca5Copy full SHA for 6633ca5
fs/ocfs2/cluster/heartbeat.c
@@ -356,7 +356,6 @@ static void o2hb_arm_timeout(struct o2hb_region *reg)
356
spin_unlock(&o2hb_live_lock);
357
}
358
cancel_delayed_work(®->hr_write_timeout_work);
359
- reg->hr_last_timeout_start = jiffies;
360
schedule_delayed_work(®->hr_write_timeout_work,
361
msecs_to_jiffies(O2HB_MAX_WRITE_TIMEOUT_MS));
362
@@ -1174,6 +1173,7 @@ static int o2hb_do_disk_heartbeat(struct o2hb_region *reg)
1174
1173
if (own_slot_ok) {
1175
o2hb_set_quorum_device(reg);
1176
o2hb_arm_timeout(reg);
+ reg->hr_last_timeout_start = jiffies;
1177
1178
1179
bail:
0 commit comments