diff --git a/0454-glusterd-set-cluster.max-bricks-per-process-to-250.patch b/0454-glusterd-set-cluster.max-bricks-per-process-to-250.patch new file mode 100644 index 0000000..174caaf --- /dev/null +++ b/0454-glusterd-set-cluster.max-bricks-per-process-to-250.patch @@ -0,0 +1,40 @@ +From 9648930b5364efd42de7017068b088e6ca8ffe35 Mon Sep 17 00:00:00 2001 +From: Atin Mukherjee +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 + +upstream patch: https://review.gluster.org/#/c/glusterfs/+/21797/ + +Change-Id: I6075f2ebc51e839510d6492fb62e706deb2d845b +BUG: 1653073 +Signed-off-by: Sanju Rakonde +Reviewed-on: https://code.engineering.redhat.com/gerrit/157686 +Tested-by: RHGS Build Bot +Reviewed-by: Sunil Kumar Heggodu Gopala Acharya +--- + 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 + diff --git a/glusterfs.spec b/glusterfs.spec index 886a2cb..418455a 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -192,7 +192,7 @@ Release: 0.1%{?prereltag:.%{prereltag}}%{?dist} %else Name: glusterfs Version: 3.12.2 -Release: 30%{?dist} +Release: 31%{?dist} %endif License: GPLv2 or LGPLv3+ Group: System Environment/Base @@ -718,6 +718,7 @@ Patch0450: 0450-glusterd-fix-Resource-leak-coverity-issue.patch Patch0451: 0451-core-Resolve-memory-leak-at-the-time-of-graph-init.patch Patch0452: 0452-glusterd-make-max-bricks-per-process-default-value-t.patch Patch0453: 0453-server-Resolve-memory-leak-path-in-server_init.patch +Patch0454: 0454-glusterd-set-cluster.max-bricks-per-process-to-250.patch %description GlusterFS is a distributed file-system capable of scaling to several @@ -2666,6 +2667,9 @@ fi %endif %changelog +* Wed Dec 05 2018 Milind Changire - 3.12.2-31 +- fixes bugs bz#1653073 + * Tue Dec 04 2018 Milind Changire - 3.12.2-30 - fixes bugs bz#1650138 bz#1653073