diff options
author | Kotresh HR <khiremat@redhat.com> | 2017-10-10 10:27:01 -0400 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2017-10-23 09:15:58 +0000 |
commit | 7d929bacbe537ee84964bb8d79f84d6c58a6cb04 (patch) | |
tree | 35d6e15c481c1f172b5c7577ccc4dbe97a131d02 /xlators | |
parent | 5aab0a11a37ec5758835ea1068b9e61ebdaccf8b (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>
(cherry picked from commit c64fd0d4b0ef313bb44aae68a376ec0c9ee8657a)
Change-Id: If9eb5a3af18051083c853e70d93b2819e8eea222
BUG: 1502104
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/storage/posix/src/posix-helpers.c | 1 |
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 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) { |