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