projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef962df
)
ocfs2: submit disk heartbeat bio using WRITE_SYNC
author
Noboru Iwamatsu
<
[email protected]
>
Wed, 3 Jul 2013 22:01:04 +0000
(15:01 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:07:24 +0000
(16:07 -0700)
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 <
[email protected]
>
Acked-by: Tao Ma <
[email protected]
>
Acked-by: Sunil Mushran <
[email protected]
>
Cc: Srinivas Eeeda <
[email protected]
>
Reviewed-by: Jie Liu <
[email protected]
>
Tested-by: Gurudas Pai <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/cluster/heartbeat.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/cluster/heartbeat.c
b/fs/ocfs2/cluster/heartbeat.c
index 42252bf64b5127f39eecb25a7aecd6f1cd57e511..f89b46b66235261234ac364329743c489f209ac1 100644
(file)
--- a/
fs/ocfs2/cluster/heartbeat.c
+++ b/
fs/ocfs2/cluster/heartbeat.c
@@
-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: