summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/quota-common-utils.h
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-04-01 20:03:37 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-04-14 05:01:18 +0000
commit6e8298654a7d0de29192b88d769132cfc51c9ac7 (patch)
treec70306373aff2967ae0d3ecd4148d1aaae085e48 /libglusterfs/src/quota-common-utils.h
parentd3b52c8283eb4c85018a5055a0dbe628b5bd2d29 (diff)
quota/disperse: handle inode quotas in xattr aggregate
with the inode quota feature, quota size is now increased from 64bit to 192bits which contains values of 'file size', 'file count' and 'dir count' This change in quota size xattr needs to be handled in disperse xattr aggregation Signed-off-by: vmallika <vmallika@redhat.com> Change-Id: I5fd28aa9f5b8b6cba83a98360236417a97ac16ee BUG: 1207967 Reviewed-on: http://review.gluster.org/10112 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Sachin Pandit <spandit@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'libglusterfs/src/quota-common-utils.h')
-rw-r--r--libglusterfs/src/quota-common-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/quota-common-utils.h b/libglusterfs/src/quota-common-utils.h
index 42301724348..eff86850dd5 100644
--- a/libglusterfs/src/quota-common-utils.h
+++ b/libglusterfs/src/quota-common-utils.h
@@ -27,6 +27,9 @@ struct _quota_meta {
typedef struct _quota_meta quota_meta_t;
int32_t
+quota_data_to_meta (data_t *data, char *key, quota_meta_t *meta);
+
+int32_t
quota_dict_get_meta (dict_t *dict, char *key, quota_meta_t *meta);
int32_t