]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: submit disk heartbeat bio using WRITE_SYNC
authorSrinivas Eeda <srinivas.eeda@oracle.com>
Wed, 17 Oct 2012 23:23:41 +0000 (16:23 -0700)
committerSrinivas Eeda <srinivas.eeda@oracle.com>
Wed, 17 Oct 2012 23:23:41 +0000 (16:23 -0700)
commit1b64594cb8b10d8bb72af4b42661d153b6443eee
tree6db2d8aa75917db2006892777b72aac30d3032b0
parent0ce77f88d6a7e337a0f872d866934aa251e035ea
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 at jp.fujitsu.com>
Acked-by: Tao Ma <boyu.mt at taobao.com>
Acked-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
fs/ocfs2/cluster/heartbeat.c