Skip to content

Commit

Permalink
add simple-quota xattr to afr-and-dht ignore list (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Amar Tumballi <[email protected]>
  • Loading branch information
amarts authored Sep 28, 2023
1 parent 6dec623 commit cd9fa93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion xlators/cluster/afr/src/afr-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion xlators/cluster/ec/src/ec-heal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd9fa93

Please sign in to comment.