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