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