summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glfs-message-id.h
diff options
context:
space:
mode:
authorMohamed Ashiq <ashiq333@gmail.com>2015-05-27 15:20:59 +0530
committerNiels de Vos <ndevos@redhat.com>2015-06-17 01:12:14 -0700
commit5c5ae2f29e32d701310407f78fcdbc62da127e95 (patch)
treea4fd669464a80213e595f4e144fc8939ad7ab86a /libglusterfs/src/glfs-message-id.h
parenta975c385c9cb0bb0b42993c2eb23a6f9bf277991 (diff)
changetimerecorder : port log messages to a new framework
Backport of http://review.gluster.org/#/c/10938/ Cherry picked from 00f9a61fe8884062c141edd662424625d349a377 >Change-Id: I66e7ccc5e62482c3ecf0aab302568e6c9ecdc05d >BUG: 1194640 >Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> >Reviewed-on: http://review.gluster.org/10938 >Tested-by: Gluster Build System <jenkins@build.gluster.com> >Reviewed-by: Joseph Fernandes >Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> Change-Id: I66e7ccc5e62482c3ecf0aab302568e6c9ecdc05d BUG: 1217722 Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> Reviewed-on: http://review.gluster.org/11195 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Joseph Fernandes Tested-by: Joseph Fernandes
Diffstat (limited to 'libglusterfs/src/glfs-message-id.h')
-rw-r--r--libglusterfs/src/glfs-message-id.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libglusterfs/src/glfs-message-id.h b/libglusterfs/src/glfs-message-id.h
index 8b17f7a0c62..58c123a66d6 100644
--- a/libglusterfs/src/glfs-message-id.h
+++ b/libglusterfs/src/glfs-message-id.h
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2013 Red Hat, Inc. <http://www.redhat.com>
+ Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com>
This file is part of GlusterFS.
This file is licensed to you under your choice of the GNU Lesser
@@ -11,11 +11,6 @@
#ifndef _GLFS_MESSAGE_ID_H_
#define _GLFS_MESSAGE_ID_H_
-#ifndef _CONFIG_H
-#define _CONFIG_H
-#include "config.h"
-#endif
-
/* Base of all message IDs, all message IDs would be
* greater than this */
#define GLFS_MSGID_BASE 100000
@@ -112,6 +107,10 @@
#define GLFS_MSGID_COMP_QUOTA_END (GLFS_MSGID_COMP_QUOTA +\
GLFS_MSGID_SEGMENT)
+#define GLFS_MSGID_COMP_CTR GLFS_MSGID_COMP_QUOTA_END
+#define GLFS_MSGID_COMP_CTR_END (GLFS_MSGID_COMP_CTR+\
+ GLFS_MSGID_SEGMENT)
+
/* --- new segments for messages goes above this line --- */
#endif /* !_GLFS_MESSAGE_ID_H_ */