summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe
diff options
context:
space:
mode:
authorShylesh Kumar <shmohan@redhat.com>2012-08-13 12:10:38 +0530
committerVijay Bellur <vbellur@redhat.com>2012-08-15 22:48:56 -0700
commit41d3605fab2f0ce8c8b4c5d976fc1a013c823e3d (patch)
tree35c3e90d5d9e9abba93d09249527786678109f7e /xlators/cluster/stripe
parent3e5e736043cdb0f48ce617d71c974912a96acef0 (diff)
cluster/stripe: Filter coalesce xattr from getfattr
Change-Id: I1c5740e29699ef464a3d30365396711f03c24974 Signed-off-by: Shylesh Kumar <shmohan@redhat.com> BUG: 801887 Reviewed-on: http://review.gluster.com/3809 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Shishir Gowda <sgowda@redhat.com>
Diffstat (limited to 'xlators/cluster/stripe')
-rw-r--r--xlators/cluster/stripe/src/stripe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 932e907dc..d836d6392 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -4551,6 +4551,7 @@ stripe_internal_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
char size_key[256] = {0,};
char index_key[256] = {0,};
char count_key[256] = {0,};
+ char coalesce_key[256] = {0,};
VALIDATE_OR_GOTO (frame, out);
VALIDATE_OR_GOTO (frame->local, out);
@@ -4561,10 +4562,12 @@ stripe_internal_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
sprintf (size_key, "trusted.%s.stripe-size", this->name);
sprintf (count_key, "trusted.%s.stripe-count", this->name);
sprintf (index_key, "trusted.%s.stripe-index", this->name);
+ sprintf (coalesce_key, "trusted.%s.stripe-coalesce", this->name);
dict_del (xattr, size_key);
dict_del (xattr, count_key);
dict_del (xattr, index_key);
+ dict_del (xattr, coalesce_key);
out:
STRIPE_STACK_UNWIND (getxattr, frame, op_ret, op_errno, xattr, xdata);