256ebe
From 4c410d99792808b0c8deb601d50c66df19f73ca7 Mon Sep 17 00:00:00 2001
256ebe
From: Anuradha Talur <atalur@commvault.com>
256ebe
Date: Thu, 25 Oct 2018 17:23:10 -0400
256ebe
Subject: [PATCH 150/169] libglusterfs: define macros needed for cloudsync
256ebe
256ebe
backport of patch: https://review.gluster.org/#/c/glusterfs/+/21585/
256ebe
256ebe
> Change-Id: Iec5ce7f17fbf899f881a58cd20c4c967e3b71668
256ebe
> fixes: bz#1642168
256ebe
> Signed-off-by: Anuradha Talur <atalur@commvault.com>
256ebe
256ebe
Change-Id: I79e5d955559acdec7cbeb8f35c8482b3b6ff8b0f
256ebe
Signed-off-by: Susant Palai <spalai@redhat.com>
256ebe
Reviewed-on: https://code.engineering.redhat.com/gerrit/172189
256ebe
Tested-by: RHGS Build Bot <nigelb@redhat.com>
256ebe
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
256ebe
---
256ebe
 libglusterfs/src/glusterfs/glusterfs.h | 4 ++++
256ebe
 1 file changed, 4 insertions(+)
256ebe
256ebe
diff --git a/libglusterfs/src/glusterfs/glusterfs.h b/libglusterfs/src/glusterfs/glusterfs.h
256ebe
index fb727fc..516b497 100644
256ebe
--- a/libglusterfs/src/glusterfs/glusterfs.h
256ebe
+++ b/libglusterfs/src/glusterfs/glusterfs.h
256ebe
@@ -364,6 +364,10 @@ enum gf_internal_fop_indicator {
256ebe
     } while (0)
256ebe
 
256ebe
 #define GF_CS_OBJECT_SIZE "trusted.glusterfs.cs.object_size"
256ebe
+#define GF_CS_BLOCK_SIZE "trusted.glusterfs.cs.block_size"
256ebe
+#define GF_CS_NUM_BLOCKS "trusted.glusterfs.cs.num_blocks"
256ebe
+
256ebe
+#define GF_CS_XATTR_ARCHIVE_UUID "trusted.cloudsync.uuid"
256ebe
 
256ebe
 #define GF_CS_OBJECT_UPLOAD_COMPLETE "trusted.glusterfs.csou.complete"
256ebe
 #define GF_CS_OBJECT_REMOTE "trusted.glusterfs.cs.remote"
256ebe
-- 
256ebe
1.8.3.1
256ebe