From 8805a4c65bf9c725cb26bb6979f3ebd62748138f Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Tue, 22 Sep 2015 16:18:29 +0530 Subject: features/changelog: Capture FXATTROP and XATTROP in changelog GEO-REP INTEROP WITH SHARD FEATURE shard xlator updates size of the file using FXATTROP or XATTROP. Hence record the same in changelog. Change-Id: Ie0c21e9326da05ea78dc1ef3fd32a90ef38b4bb9 BUG: 1265148 Signed-off-by: Kotresh HR Reviewed-on: http://review.gluster.org/12225 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Venky Shankar --- libglusterfs/src/common-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index b2466170931..e541df6240a 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -96,6 +96,10 @@ void trap (void); /* Default value of signing waiting time to sign a file for bitrot */ #define SIGNING_TIMEOUT "120" +/* Shard */ +#define GF_XATTR_SHARD_FILE_SIZE "trusted.glusterfs.shard.file-size" +#define SHARD_ROOT_GFID "be318638-e8a0-4c6d-977d-7a937aa84806" + enum _gf_boolean { _gf_false = 0, -- cgit