|
|
e3c68b |
From ff5f06d6ba5ac87094ae5df435d1cfb38802e7ca Mon Sep 17 00:00:00 2001
|
|
|
e3c68b |
From: N Balachandran <nbalacha@redhat.com>
|
|
|
e3c68b |
Date: Tue, 18 Jun 2019 15:33:29 +0530
|
|
|
e3c68b |
Subject: [PATCH 213/221] cluster/dht: Strip out dht xattrs
|
|
|
e3c68b |
|
|
|
e3c68b |
Some internal DHT xattrs were not being
|
|
|
e3c68b |
removed when calling getxattr in pass-through mode.
|
|
|
e3c68b |
This has been fixed.
|
|
|
e3c68b |
|
|
|
e3c68b |
upstream patch: https://review.gluster.org/#/c/glusterfs/+/22889/
|
|
|
e3c68b |
|
|
|
e3c68b |
>Change-Id: If7e3dbc7b495db88a566bd560888e3e9c167defa
|
|
|
e3c68b |
>fixes: bz#1721435
|
|
|
e3c68b |
>Signed-off-by: N Balachandran <nbalacha@redhat.com>
|
|
|
e3c68b |
|
|
|
e3c68b |
|
|
|
e3c68b |
BUG: 1721357
|
|
|
e3c68b |
Change-Id: I29bce7ea78bb4fd3b493404282cb2c48ef0bf4ee
|
|
|
e3c68b |
Signed-off-by: N Balachandran <nbalacha@redhat.com>
|
|
|
e3c68b |
Reviewed-on: https://code.engineering.redhat.com/gerrit/174699
|
|
|
e3c68b |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
e3c68b |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
e3c68b |
---
|
|
|
e3c68b |
xlators/cluster/dht/src/dht-common.c | 2 ++
|
|
|
e3c68b |
1 file changed, 2 insertions(+)
|
|
|
e3c68b |
|
|
|
e3c68b |
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
|
|
|
e3c68b |
index e1edb38..9a6ea5b 100644
|
|
|
e3c68b |
--- a/xlators/cluster/dht/src/dht-common.c
|
|
|
e3c68b |
+++ b/xlators/cluster/dht/src/dht-common.c
|
|
|
e3c68b |
@@ -11216,6 +11216,8 @@ dht_pt_getxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
|
|
|
e3c68b |
|
|
|
e3c68b |
conf = this->private;
|
|
|
e3c68b |
dict_del(xattr, conf->xattr_name);
|
|
|
e3c68b |
+ dict_del(xattr, conf->mds_xattr_key);
|
|
|
e3c68b |
+ dict_del(xattr, conf->commithash_xattr_name);
|
|
|
e3c68b |
|
|
|
e3c68b |
if (frame->root->pid >= 0) {
|
|
|
e3c68b |
GF_REMOVE_INTERNAL_XATTR("trusted.glusterfs.quota*", xattr);
|
|
|
e3c68b |
--
|
|
|
e3c68b |
1.8.3.1
|
|
|
e3c68b |
|