Blob Blame History Raw
From 9648930b5364efd42de7017068b088e6ca8ffe35 Mon Sep 17 00:00:00 2001
From: Atin Mukherjee <amukherj@redhat.com>
Date: Tue, 4 Dec 2018 19:19:58 +0530
Subject: [PATCH 454/454] glusterd: set cluster.max-bricks-per-process to 250

Commit 6821cec changed this default from 0 to 250 in the option table,
however the same wasn't done in the global option table.

>Change-Id: I6075f2ebc51e839510d6492fb62e706deb2d845b
>Fixes: bz#1652118
>Signed-off-by: Atin Mukherjee <amukherj@redhat.com>

upstream patch: https://review.gluster.org/#/c/glusterfs/+/21797/

Change-Id: I6075f2ebc51e839510d6492fb62e706deb2d845b
BUG: 1653073
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/157686
Tested-by: RHGS Build Bot <nigelb@redhat.com>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
---
 xlators/mgmt/glusterd/src/glusterd-op-sm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 8d767cc..f0c43f4 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -84,7 +84,7 @@ glusterd_all_vol_opts valid_all_vol_opts[] = {
          * can be attached per process.
          * TBD: Discuss the default value for this. Maybe this should be a
          * dynamic value depending on the memory specifications per node */
-        { GLUSTERD_BRICKMUX_LIMIT_KEY,          "0"},
+        { GLUSTERD_BRICKMUX_LIMIT_KEY,          "250"},
         /*{ GLUSTERD_LOCALTIME_LOGGING_KEY,       "disable"},*/
         { GLUSTERD_DAEMON_LOG_LEVEL_KEY,        "INFO"},
         { NULL },
-- 
1.8.3.1