From 4d7f81c4ff3c42e84bfa65cf71755bc3553bc02c Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 28 Aug 2017 19:33:30 +0530 Subject: 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 BUG: 1486122 Change-Id: If9835d914821dfc4ff432dc96775677a55d2918f Signed-off-by: Pranith Kumar K Reviewed-on: https://review.gluster.org/18126 Smoke: Gluster Build System Reviewed-by: Krutika Dhananjay Tested-by: Krutika Dhananjay CentOS-regression: Gluster Build System Reviewed-by: Shyamsundar Ranganathan --- extras/group-gluster-block | 1 + 1 file changed, 1 insertion(+) 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 -- cgit