diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2017-08-28 19:33:30 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-08-29 13:36:24 +0000 |
commit | 4d7f81c4ff3c42e84bfa65cf71755bc3553bc02c (patch) | |
tree | f290aefd772d7a09ed1156db8f4c6adfc071189d | |
parent | b04b3dd4dc8fcff9ad44e31d1da810eba223cd08 (diff) | |
download | glusterfs-4d7f81c4ff3c42e84bfa65cf71755bc3553bc02c.tar.gz glusterfs-4d7f81c4ff3c42e84bfa65cf71755bc3553bc02c.tar.xz glusterfs-4d7f81c4ff3c42e84bfa65cf71755bc3553bc02c.zip |
gluster-block: strict-o-direct should be on
Backport of https://review.gluster.org/18120
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>
BUG: 1486122
Change-Id: If9835d914821dfc4ff432dc96775677a55d2918f
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: https://review.gluster.org/18126
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Tested-by: Krutika Dhananjay <kdhananj@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
-rw-r--r-- | extras/group-gluster-block | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/group-gluster-block b/extras/group-gluster-block index 82bd6ff5e7..e94f834d42 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 |