Skip to contentSkip to conversation

OCFS2: submit disk heartbeat bio using WRITE_SYNC on behalf of Noboru

Ocfs2-devel Jeff Liu 1 participant 1 message Nov 2, 2012 OCFS2

lore
Share & tools
lore

Jeff Liu

author
#0 lore raw

Hi Joel,

Last year, Noboru once posted a patch to fix OCFS2 unexpected reboot under heavy disk IO, which can be found at:
https://oss.oracle.com/pipermail/ocfs2-devel/2011-December/008438.html

Guru has reproduced this issue and verified that the proposal patch works to fix it. Could you please accept it? maybe it's better to merge it to stable-kernel.

Thanks,
-Jeff

---
 fs/ocfs2/cluster/heartbeat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/cluster/heartbeat.c +1 -1
index f7c648d..567e7af 100644
@@ -500,7 +500,7 @@ static int o2hb_issue_node_write(struct o2hb_region *reg,
 	}
 
 	atomic_inc(&write_wc->wc_num_reqs);
-	submit_bio(WRITE, bio);
+	submit_bio(WRITE_SYNC, bio);
 
 	status = 0;
 bail:
Signature · 1 line
1.7.9.5