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