Blob Blame History Raw
From 1fccf7f4e19670b863af835d03917edc4d889210 Mon Sep 17 00:00:00 2001
From: Pranith Kumar K <pkarampu@redhat.com>
Date: Mon, 24 Jul 2017 11:31:56 +0530
Subject: [PATCH 585/587] extras: Disable remote-dio in gluster-block profile

gluster-block file is opened with O_DIRECT but because block-profile has
remote-dio enabled, it is leading to high latency for fsync which leads to
failures in cassandra. Disabling remote-dio fixed this issue. We need to change
remote-dio to disabled in gluster-block.

 >BUG: 1474190
 >Change-Id: Ifd845ea9cbdcc08dd6073faca6082682af376ca3
 >Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
 >Reviewed-on: https://review.gluster.org/17856
 >CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
 >Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
 >Smoke: Gluster Build System <jenkins@build.gluster.org>
 >Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
 >Reviewed-by: Niels de Vos <ndevos@redhat.com>

BUG: 1472273
Change-Id: Ifd845ea9cbdcc08dd6073faca6082682af376ca3
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/114102
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: Atin Mukherjee <amukherj@redhat.com>
---
 extras/group-gluster-block | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/group-gluster-block b/extras/group-gluster-block
index a4a6367..cea15d8 100644
--- a/extras/group-gluster-block
+++ b/extras/group-gluster-block
@@ -4,7 +4,7 @@ performance.io-cache=off
 performance.stat-prefetch=off
 performance.open-behind=off
 performance.readdir-ahead=off
-network.remote-dio=enable
+network.remote-dio=disable
 cluster.eager-lock=enable
 cluster.quorum-type=auto
 cluster.data-self-heal-algorithm=full
-- 
1.8.3.1