From d25b6065469eb978d40450b5aebcf5711fb50205 Mon Sep 17 00:00:00 2001 From: Poornima G Date: Fri, 26 Jan 2018 15:34:43 +0530 Subject: quiesce, gfproxy: Implement failover across multiple gfproxy nodes Updates: #242 Change-Id: I767e574a26e922760a7130bd209c178d74e8cf69 Signed-off-by: Poornima G --- libglusterfs/src/glfs-message-id.h | 3 ++- libglusterfs/src/glusterfs.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/glfs-message-id.h b/libglusterfs/src/glfs-message-id.h index 6a7d07bef84..86e1d9f72c2 100644 --- a/libglusterfs/src/glfs-message-id.h +++ b/libglusterfs/src/glfs-message-id.h @@ -85,7 +85,8 @@ enum _msgid_comp { GLFS_MSGID_COMP(NLC, 1), GLFS_MSGID_COMP(SL, 1), GLFS_MSGID_COMP(HAM, 1), - GLFS_MSGID_COMP(SDFS, 1), + GLFS_MSGID_COMP(SDFS, 1), + GLFS_MSGID_COMP(QUIESCE, 1), /* --- new segments for messages goes above this line --- */ diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 56be7487ce7..438ce059fad 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -285,6 +285,9 @@ #define CTR_ATTACH_TIER_LOOKUP "ctr_attach_tier_lookup" +#define CLIENT_CMD_CONNECT "trusted.glusterfs.client-connect" +#define CLIENT_CMD_DISCONNECT "trusted.glusterfs.client-disconnect" + #define GF_LOG_LRU_BUFSIZE_DEFAULT 5 #define GF_LOG_LRU_BUFSIZE_MIN 0 #define GF_LOG_LRU_BUFSIZE_MAX 20 -- cgit