From c64fd0d4b0ef313bb44aae68a376ec0c9ee8657a 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 --- xlators/storage/posix/src/posix-helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/storage/posix') diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c index e09c6d796cb..826441f1dd7 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