+ ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch added to -mm tree
To: n_iwamatsu@xxxxxxxxxxxxxx,gurudas.pai@xxxxxxxxxx,jeff.liu@xxxxxxxxxx,jlbec@xxxxxxxxxxxx,mfasheh@xxxxxxxx,srinivas.eeda@xxxxxxxxxx,sunil.mushran@xxxxxxxxx,tm@xxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Mon, 01 Jul 2013 16:18:53 -0700


The patch titled
     Subject: ocfs2: submit disk heartbeat bio using WRITE_SYNC
has been added to the -mm tree.  Its filename is
     ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
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.

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
Acked-by: Tao Ma <tm@xxxxxx>
Acked-by: Sunil Mushran <sunil.mushran@xxxxxxxxx>
Cc: Srinivas Eeeda <srinivas.eeda@xxxxxxxxxx>
Reviewed-by: Jie Liu <jeff.liu@xxxxxxxxxx>
Tested-by: Gurudas Pai <gurudas.pai@xxxxxxxxxx>
Cc: Joel Becker <jlbec@xxxxxxxxxxxx>
Cc: Mark Fasheh <mfasheh@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ocfs2/cluster/heartbeat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/ocfs2/cluster/heartbeat.c~ocfs2-submit-disk-heartbeat-bio-using-write_sync fs/ocfs2/cluster/heartbeat.c
--- a/fs/ocfs2/cluster/heartbeat.c~ocfs2-submit-disk-heartbeat-bio-using-write_sync
+++ a/fs/ocfs2/cluster/heartbeat.c
@@ -492,7 +492,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 n_iwamatsu@xxxxxxxxxxxxxx are

ocfs2-submit-disk-heartbeat-bio-using-write_sync.patch
ocfs2-consolidate-o2hb_global_hearbeat_mode_set-naming-convention.patch
ocfs2-fix-a-comments-typo-at-o2quo_hb_still_up.patch
ocfs2-adjust-switch_case-syntax-at-o2net_state_change.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux