17b94a
From f77d4a024cb9b17de7d5add064b34adfb0455d17 Mon Sep 17 00:00:00 2001
17b94a
From: Atin Mukherjee <amukherj@redhat.com>
17b94a
Date: Mon, 24 Jun 2019 18:32:52 +0530
17b94a
Subject: [PATCH 206/221] glusterd: ignore user.* options from compatibility
17b94a
 check in brick mux
17b94a
17b94a
user.* options are just custom and they don't contribute anything in
17b94a
terms of determining the volume compatibility in brick multiplexing
17b94a
17b94a
> upstream patch : https://review.gluster.org/#/c/glusterfs/+/22933/
17b94a
17b94a
>Fixes: bz#1723402
17b94a
>Change-Id: Ic7e0181ab72993d29cab345cde64ae1340bf4faf
17b94a
>Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
17b94a
17b94a
BUG: 1722509
17b94a
Change-Id: Ic7e0181ab72993d29cab345cde64ae1340bf4faf
17b94a
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
17b94a
Reviewed-on: https://code.engineering.redhat.com/gerrit/174589
17b94a
Tested-by: RHGS Build Bot <nigelb@redhat.com>
17b94a
---
17b94a
 xlators/mgmt/glusterd/src/glusterd-utils.c | 3 +++
17b94a
 1 file changed, 3 insertions(+)
17b94a
17b94a
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
17b94a
index 7768b8e..c6e9bb0 100644
17b94a
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
17b94a
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
17b94a
@@ -2425,6 +2425,9 @@ unsafe_option(dict_t *this, char *key, data_t *value, void *arg)
17b94a
     if (fnmatch("*diagnostics.client-log*", key, 0) == 0) {
17b94a
         return _gf_false;
17b94a
     }
17b94a
+    if (fnmatch("user.*", key, 0) == 0) {
17b94a
+        return _gf_false;
17b94a
+    }
17b94a
 
17b94a
     return _gf_true;
17b94a
 }
17b94a
-- 
17b94a
1.8.3.1
17b94a