cb8e9e
From e62ec83e51ef6c4f7701a710201605f4bc6e75b1 Mon Sep 17 00:00:00 2001
cb8e9e
From: Humble Devassy Chirammal <hchiramm@redhat.com>
cb8e9e
Date: Mon, 27 Apr 2015 12:48:07 +0530
cb8e9e
Subject: [PATCH 080/101] libglusterfs: update glfs-messages header for reserved segments
cb8e9e
cb8e9e
all the logging patches will be dependent on this segment allocation.
cb8e9e
Sending this change as a seperate one to avoid the conflicts.
cb8e9e
cb8e9e
Change-Id: Iedd72ab6dc3526f1a6b01828807b5e6b9edcba90
cb8e9e
BUG: 1231792
cb8e9e
Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com>
cb8e9e
Reviewed-on: http://review.gluster.org/10400
cb8e9e
Tested-by: Gluster Build System <jenkins@build.gluster.com>
cb8e9e
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
cb8e9e
Reviewed-on: https://code.engineering.redhat.com/gerrit/50902
cb8e9e
Reviewed-by: Raghavendra Gowdappa <rgowdapp@redhat.com>
cb8e9e
Tested-by: Raghavendra Gowdappa <rgowdapp@redhat.com>
cb8e9e
---
cb8e9e
 libglusterfs/src/glfs-message-id.h |   36 ++++++++++++++++++++++++++++++++----
cb8e9e
 1 files changed, 32 insertions(+), 4 deletions(-)
cb8e9e
cb8e9e
diff --git a/libglusterfs/src/glfs-message-id.h b/libglusterfs/src/glfs-message-id.h
cb8e9e
index 45ac8ef..e28327d 100644
cb8e9e
--- a/libglusterfs/src/glfs-message-id.h
cb8e9e
+++ b/libglusterfs/src/glfs-message-id.h
cb8e9e
@@ -39,11 +39,11 @@
cb8e9e
 #define GLFS_MSGID_COMP_RPC_LIB_END        GLFS_MSGID_COMP_RPC_LIB + \
cb8e9e
                                            GLFS_MSGID_SEGMENT
cb8e9e
 
cb8e9e
-#define GLFS_MSGID_COMP_RPC_TRANSPORT      GLFS_MSGID_COMP_RPC_LIB_END
cb8e9e
-#define GLFS_MSGID_COMP_RPC_TRANSPORT_END  GLFS_MSGID_COMP_RPC_TRANSPORT + \
cb8e9e
-                                           GLFS_MSGID_SEGMENT
cb8e9e
+#define GLFS_MSGID_COMP_RPC_TRANS_RDMA     GLFS_MSGID_COMP_RPC_LIB_END
cb8e9e
+#define GLFS_MSGID_COMP_RPC_TRANS_RDMA_END (GLFS_MSGID_COMP_RPC_TRANS_RDMA + \
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
 
cb8e9e
-#define GLFS_MSGID_COMP_API                GLFS_MSGID_COMP_RPC_TRANSPORT_END
cb8e9e
+#define GLFS_MSGID_COMP_API                GLFS_MSGID_COMP_RPC_TRANS_RDMA_END
cb8e9e
 #define GLFS_MSGID_COMP_API_END            GLFS_MSGID_COMP_API + \
cb8e9e
                                            GLFS_MSGID_SEGMENT
cb8e9e
 
cb8e9e
@@ -80,6 +80,34 @@
cb8e9e
 #define GLFS_MSGID_COMP_NFS_END            (GLFS_MSGID_COMP_NFS +\
cb8e9e
                                            GLFS_MSGID_SEGMENT)
cb8e9e
 
cb8e9e
+#define GLFS_MSGID_COMP_POSIX              GLFS_MSGID_COMP_NFS_END
cb8e9e
+#define GLFS_MSGID_COMP_POSIX_END          (GLFS_MSGID_COMP_POSIX +\
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
+#define GLFS_MSGID_COMP_PC                 GLFS_MSGID_COMP_POSIX_END
cb8e9e
+#define GLFS_MSGID_COMP_PC_END             (GLFS_MSGID_COMP_PC +\
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
+#define GLFS_MSGID_COMP_PS                 GLFS_MSGID_COMP_PC_END
cb8e9e
+#define GLFS_MSGID_COMP_PS_END             (GLFS_MSGID_COMP_PS +\
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
+#define GLFS_MSGID_COMP_PERF               GLFS_MSGID_COMP_PS_END
cb8e9e
+#define GLFS_MSGID_COMP_PERF_END           (GLFS_MSGID_COMP_PERF +\
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
+#define GLFS_MSGID_COMP_CHANGELOG          GLFS_MSGID_COMP_PERF_END
cb8e9e
+#define GLFS_MSGID_COMP_CHANGELOG_END      (GLFS_MSGID_COMP_CHANGELOG +\
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
+#define GLFS_MSGID_COMP_BITROT             GLFS_MSGID_COMP_CHANGELOG_END
cb8e9e
+#define GLFS_MSGID_COMP_BITROT_END         (GLFS_MSGID_COMP_BITROT +\
cb8e9e
+                                           GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
+#define GLFS_MSGID_COMP_RPC_TRANS_SOCKET        GLFS_MSGID_COMP_BITROT_END
cb8e9e
+#define GLFS_MSGID_COMP_RPC_TRANS_SOCKET_END    (GLFS_MSGID_COMP_RPC_TRANS_SOCKET + \
cb8e9e
+                                                GLFS_MSGID_SEGMENT)
cb8e9e
+
cb8e9e
 /* --- new segments for messages goes above this line --- */
cb8e9e
 
cb8e9e
 #endif /* !_GLFS_MESSAGE_ID_H_ */
cb8e9e
-- 
cb8e9e
1.7.1
cb8e9e