From 7d929bacbe537ee84964bb8d79f84d6c58a6cb04 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Tue, 10 Oct 2017 10:27:01 -0400 Subject: geo-rep: Filter out volume-mark xattr The volume-mark xattr, maintained at brick root of slave volume is specific to geo-replication and should be filtered out for all other clients. It should also be filtered out from list getxattr from all mounts including geo-rep mount as it might cause rsync to read and set. > Change-Id: If9eb5a3af18051083c853e70d93b2819e8eea222 > BUG: 1500433 > Signed-off-by: Kotresh HR (cherry picked from commit c64fd0d4b0ef313bb44aae68a376ec0c9ee8657a) Change-Id: If9eb5a3af18051083c853e70d93b2819e8eea222 BUG: 1502104 Signed-off-by: Kotresh HR --- xlators/storage/posix/src/posix-helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c index 18999f042cc..f97c90bf930 100644 --- a/xlators/storage/posix/src/posix-helpers.c +++ b/xlators/storage/posix/src/posix-helpers.c @@ -111,6 +111,7 @@ posix_handle_georep_xattrs (call_frame_t *frame, const char *name, static const char *georep_xattr[] = { "*.glusterfs.*.stime", "*.glusterfs.*.xtime", "*.glusterfs.*.entry_stime", + "*.glusterfs.volume-mark.*", NULL }; if (frame && frame->root) { -- cgit