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