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