21ab4e
From 1fccf7f4e19670b863af835d03917edc4d889210 Mon Sep 17 00:00:00 2001
21ab4e
From: Pranith Kumar K <pkarampu@redhat.com>
21ab4e
Date: Mon, 24 Jul 2017 11:31:56 +0530
21ab4e
Subject: [PATCH 585/587] extras: Disable remote-dio in gluster-block profile
21ab4e
21ab4e
gluster-block file is opened with O_DIRECT but because block-profile has
21ab4e
remote-dio enabled, it is leading to high latency for fsync which leads to
21ab4e
failures in cassandra. Disabling remote-dio fixed this issue. We need to change
21ab4e
remote-dio to disabled in gluster-block.
21ab4e
21ab4e
 >BUG: 1474190
21ab4e
 >Change-Id: Ifd845ea9cbdcc08dd6073faca6082682af376ca3
21ab4e
 >Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
21ab4e
 >Reviewed-on: https://review.gluster.org/17856
21ab4e
 >CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
21ab4e
 >Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
21ab4e
 >Smoke: Gluster Build System <jenkins@build.gluster.org>
21ab4e
 >Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
21ab4e
 >Reviewed-by: Niels de Vos <ndevos@redhat.com>
21ab4e
21ab4e
BUG: 1472273
21ab4e
Change-Id: Ifd845ea9cbdcc08dd6073faca6082682af376ca3
21ab4e
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
21ab4e
Reviewed-on: https://code.engineering.redhat.com/gerrit/114102
21ab4e
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
21ab4e
Tested-by: Atin Mukherjee <amukherj@redhat.com>
21ab4e
---
21ab4e
 extras/group-gluster-block | 2 +-
21ab4e
 1 file changed, 1 insertion(+), 1 deletion(-)
21ab4e
21ab4e
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
21ab4e
index a4a6367..cea15d8 100644
21ab4e
--- a/extras/group-gluster-block
21ab4e
+++ b/extras/group-gluster-block
21ab4e
@@ -4,7 +4,7 @@ performance.io-cache=off
21ab4e
 performance.stat-prefetch=off
21ab4e
 performance.open-behind=off
21ab4e
 performance.readdir-ahead=off
21ab4e
-network.remote-dio=enable
21ab4e
+network.remote-dio=disable
21ab4e
 cluster.eager-lock=enable
21ab4e
 cluster.quorum-type=auto
21ab4e
 cluster.data-self-heal-algorithm=full
21ab4e
-- 
21ab4e
1.8.3.1
21ab4e