Skip to contentSkip to conversation

ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: [merged] ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:23:29 -0700

The patch titled
Subject: ocfs2: submit disk heartbeat bio using WRITE_SYNC
has been removed from the -mm tree. Its filename was
ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Noboru Iwamatsu <[email protected]>
Subject: ocfs2: submit disk heartbeat bio using WRITE_SYNC

Under heavy I/O load, writing the disk heartbeat can be forced to wait for minutes, and this causes the node to be fenced.

This patch tries to use WRITE_SYNC in submitting the heartbeat bio, so that writing the heartbeat will have a priority over other requests.

---

 fs/ocfs2/cluster/heartbeat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/cluster/heartbeat.c renamed from fs/ocfs2/cluster/heartbeat.c~ocfs2-submit-disk-heartbeat-bio-using-write_sync +1 -1
diff -puN fs/ocfs2/cluster/heartbeat.c~ocfs2-submit-disk-heartbeat-bio-using-write_sync fs/ocfs2/cluster/heartbeat.c
@@ -500,7 +500,7 @@ static int o2hb_issue_node_write(struct
 	}
 
 	atomic_inc(&write_wc->wc_num_reqs);
-	submit_bio(WRITE, bio);
+	submit_bio(WRITE_SYNC, bio);
 
 	status = 0;
 bail:

_

Patches currently in -mm which might be from [email protected] are

origin.patch