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