From 059ddebbf98a8ed9de64054629e26d7ded19f88d Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Mon, 29 May 2017 16:17:23 +0530 Subject: [PATCH 478/486] glusterd: do not load io-threads for replica volume by default This issue was already fixed https://code.engineering.redhat.com/gerrit/96886 . However while backporting one of the fixes for rhgs-3.3.0 approved features https://code.engineering.redhat.com/gerrit/#/c/101418 managed to break it. Label: DOWNSTREAM ONLY Change-Id: Iae59a0336c99257d14ed7ad70bbbe454ede2ee07 BUG: 1456402 Signed-off-by: Atin Mukherjee Reviewed-on: https://code.engineering.redhat.com/gerrit/107558 Reviewed-by: Ravishankar Narayanankutty --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index c112dc8..55cd430 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -2559,6 +2559,7 @@ perfxl_option_handler (volgen_graph_t *graph, struct volopt_map_entry *vme, if (!strcmp (vme->key, "performance.client-io-threads") && (GF_CLUSTER_TYPE_STRIPE_REPLICATE == volinfo->type || GF_CLUSTER_TYPE_REPLICATE == volinfo->type)) + return 0; /* if VKEY_READDIR_AHEAD is enabled and parallel readdir is * not enabled then load readdir-ahead here else it will be -- 1.8.3.1