summaryrefslogtreecommitdiffstats
path: root/xlators/features/shard/src/shard-mem-types.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-04-01 16:00:05 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-08 15:23:29 +0000
commit4be65bb376e2fffd7175f579724aae4c5718d57c (patch)
treeaf258397a2efdd5f5a6c9ae0309c05c11a9f386f /xlators/features/shard/src/shard-mem-types.h
parent346e64e578573296028efa516cd93cfaf2b17b8f (diff)
features/shard: Introduce file size xattr
With each inode write FOP, the size and block count of the file will be updated within the xattr. There are two 64 byte fields that are intentionally left blank for now for future use when consistency guarantee is introduced later in sharding. Change-Id: I40a2e700150c1f199a6bf87909f063c84ab7bb43 BUG: 1207603 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/10097 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/features/shard/src/shard-mem-types.h')
-rw-r--r--xlators/features/shard/src/shard-mem-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard-mem-types.h b/xlators/features/shard/src/shard-mem-types.h
index 4bdcbba787c..5a043278b7d 100644
--- a/xlators/features/shard/src/shard-mem-types.h
+++ b/xlators/features/shard/src/shard-mem-types.h
@@ -17,6 +17,7 @@ enum gf_shard_mem_types_ {
gf_shard_mt_inode_list,
gf_shard_mt_inode_ctx_t,
gf_shard_mt_iovec,
+ gf_shard_mt_uint64_t,
gf_shard_mt_end
};
#endif