summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2017-08-28 19:33:30 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-08-29 13:36:07 +0000
commit3b5f4de6926780b34570731ad34992a4735dd410 (patch)
tree1a3a458be058d3e21953734aa831f3f723c74d58 /extras
parentbf7b0b60b1710b19561a2f7c79c3be4d09842b2c (diff)
gluster-block: strict-o-direct should be on
tcmu-runner is not going to open block with O_SYNC anymore so writes have a chance of getting cached in write-behind when that happens, there is a chance that on failover some data could be stuck in cache and be lost. BUG: 1485962 Change-Id: If9835d914821dfc4ff432dc96775677a55d2918f Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: https://review.gluster.org/18120 CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/group-gluster-block1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
index 82bd6ff5e72..e94f834d420 100644
--- a/extras/group-gluster-block
+++ b/extras/group-gluster-block
@@ -4,6 +4,7 @@ performance.io-cache=off
performance.stat-prefetch=off
performance.open-behind=off
performance.readdir-ahead=off
+performance.strict-o-direct=on
network.remote-dio=disable
cluster.eager-lock=disable
cluster.quorum-type=auto