summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2017-10-10 10:27:01 -0400
committerJeff Darcy <jeff@pl.atyp.us>2017-10-13 16:26:05 +0000
commitc64fd0d4b0ef313bb44aae68a376ec0c9ee8657a (patch)
treeb3367f73a25b79f12d827e7a9f439d5717a2918a /xlators/storage/posix/src
parent6cad2cd12b26e944d547b0a1c1a6b049c58f5d30 (diff)
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 <khiremat@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src')
-rw-r--r--xlators/storage/posix/src/posix-helpers.c1
1 files changed, 1 insertions, 0 deletions
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) {