From 98cbfba23434254bb603d93ec154ba65bbbf86cc Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 2 Nov 2015 11:43:12 +0530 Subject: features/bit-rot: stub changes for showing bad objects in the status Backport of http://review.gluster.org/12503 > Change-Id: If905132f6f1df4aebd9ab255e1e8c59902f84fe5 > BUG: 1207627 > Signed-off-by: Raghavendra Bhat > Reviewed-on: http://review.gluster.org/12503 > Tested-by: NetBSD Build System > Tested-by: Gluster Build System > Reviewed-by: Venky Shankar > Signed-off-by: Raghavendra Bhat Change-Id: I310b71c215913c590b2747e53eea00c2261e975c BUG: 1283881 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.org/12715 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Venky Shankar --- xlators/features/bit-rot/src/stub/bit-rot-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/features/bit-rot/src/stub/bit-rot-common.h') diff --git a/xlators/features/bit-rot/src/stub/bit-rot-common.h b/xlators/features/bit-rot/src/stub/bit-rot-common.h index f8d03def217..4a93e2bcadc 100644 --- a/xlators/features/bit-rot/src/stub/bit-rot-common.h +++ b/xlators/features/bit-rot/src/stub/bit-rot-common.h @@ -26,6 +26,8 @@ #define BR_VXATTR_ALL_MISSING \ (BR_VXATTR_VERSION | BR_VXATTR_SIGNATURE) +#define BR_BAD_OBJ_CONTAINER (uuid_t){0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8} + typedef enum br_vxattr_state { BR_VXATTR_STATUS_FULL = 0, BR_VXATTR_STATUS_MISSING = 1, -- cgit