From cd9fa9388e12d91410f91aa5e58b513246e8f5dc Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 28 Sep 2023 14:43:47 +0530 Subject: [PATCH] add simple-quota xattr to afr-and-dht ignore list (#9) Signed-off-by: Amar Tumballi --- xlators/cluster/afr/src/afr-common.c | 3 ++- xlators/cluster/ec/src/ec-heal.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index 7997ae7fb1b..cc7cf10f75d 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -2723,7 +2723,8 @@ afr_frame_return(call_frame_t *frame) return call_count; } -static char *afr_ignore_xattrs[] = {GF_SELINUX_XATTR_KEY, QUOTA_SIZE_KEY, NULL}; +static char *afr_ignore_xattrs[] = {GF_SELINUX_XATTR_KEY, QUOTA_SIZE_KEY, + SQUOTA_SIZE_KEY, SQUOTA_LIMIT_KEY, NULL}; gf_boolean_t afr_is_xattr_ignorable(char *key) diff --git a/xlators/cluster/ec/src/ec-heal.c b/xlators/cluster/ec/src/ec-heal.c index 1fb65682c47..d0b66803f6c 100644 --- a/xlators/cluster/ec/src/ec-heal.c +++ b/xlators/cluster/ec/src/ec-heal.c @@ -68,7 +68,8 @@ struct ec_name_data { uint32_t heal_pending; }; -static char *ec_ignore_xattrs[] = {GF_SELINUX_XATTR_KEY, QUOTA_SIZE_KEY, NULL}; +static char *ec_ignore_xattrs[] = {GF_SELINUX_XATTR_KEY, QUOTA_SIZE_KEY, + SQUOTA_SIZE_KEY, SQUOTA_LIMIT_KEY, NULL}; static gf_boolean_t ec_ignorable_key_match(dict_t *dict, char *key, data_t *val, void *mdata)