summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-04-27 12:48:07 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-28 02:24:56 -0700
commitcd4e9abee1270c6400037912aacbbf171c6897c0 (patch)
treea8c6bf65f8ccb9a365ef1306a3edc24d82950489 /libglusterfs/src
parentada6b3a8800867934af57a57d5312f5a5d8374f0 (diff)
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: 1194640 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>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/glfs-message-id.h36
1 files changed, 32 insertions, 4 deletions
diff --git a/libglusterfs/src/glfs-message-id.h b/libglusterfs/src/glfs-message-id.h
index 45ac8ef8add..051ff3e74ed 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_NFS_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_ */