a3470f
From 9034056db634852d74423b8324c78ed058d028ba Mon Sep 17 00:00:00 2001
a3470f
From: Kotresh HR <khiremat@redhat.com>
a3470f
Date: Tue, 10 Oct 2017 10:27:01 -0400
a3470f
Subject: [PATCH 089/128] geo-rep: Filter out volume-mark xattr
a3470f
a3470f
The volume-mark xattr, maintained at brick root
a3470f
of slave volume is specific to geo-replication
a3470f
and should be filtered out for all other clients.
a3470f
It should also be filtered out from list getxattr
a3470f
from all mounts including geo-rep mount as it
a3470f
might cause rsync to read and set.
a3470f
a3470f
Backport of:
a3470f
> Change-Id: If9eb5a3af18051083c853e70d93b2819e8eea222
a3470f
> BUG: 1500433
a3470f
> Patch: https://review.gluster.org/18479
a3470f
> Signed-off-by: Kotresh HR <khiremat@redhat.com>
a3470f
a3470f
BUG: 1476876
a3470f
Change-Id: If9eb5a3af18051083c853e70d93b2819e8eea222
a3470f
Signed-off-by: Kotresh HR <khiremat@redhat.com>
a3470f
Reviewed-on: https://code.engineering.redhat.com/gerrit/124531
a3470f
Tested-by: RHGS Build Bot <nigelb@redhat.com>
a3470f
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
a3470f
---
a3470f
 xlators/storage/posix/src/posix-helpers.c | 1 +
a3470f
 1 file changed, 1 insertion(+)
a3470f
a3470f
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c
a3470f
index 18999f0..f97c90b 100644
a3470f
--- a/xlators/storage/posix/src/posix-helpers.c
a3470f
+++ b/xlators/storage/posix/src/posix-helpers.c
a3470f
@@ -111,6 +111,7 @@ posix_handle_georep_xattrs (call_frame_t *frame, const char *name,
a3470f
         static const char *georep_xattr[]   = { "*.glusterfs.*.stime",
a3470f
                                                 "*.glusterfs.*.xtime",
a3470f
                                                 "*.glusterfs.*.entry_stime",
a3470f
+                                                "*.glusterfs.volume-mark.*",
a3470f
                                                 NULL
a3470f
                                               };
a3470f
         if (frame && frame->root) {
a3470f
-- 
a3470f
1.8.3.1
a3470f