summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glfs-message-id.h
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-02-20 18:01:50 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2015-03-02 10:13:33 -0800
commit7c44ac371cc7553bd8d29455dafc2c07cf5b96e1 (patch)
treee6d9d27ce2e69cbb99c2001eca1ac73d7d0fc599 /libglusterfs/src/glfs-message-id.h
parent1455ee40030c8d3c4818ba7d7ca8ca851e12b848 (diff)
logging: Adding msg id segment for common errors.
By this reservation, we are assigning some space for common errors like dict_{get,set},memory accounting..etc. Change-Id: Iee0f65b3dc4e00819f344bed01989352a4f8a87b BUG: 1194640. Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9752 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: N Balachandran <nbalacha@redhat.com> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'libglusterfs/src/glfs-message-id.h')
-rw-r--r--libglusterfs/src/glfs-message-id.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libglusterfs/src/glfs-message-id.h b/libglusterfs/src/glfs-message-id.h
index f0f407ba6f5..35abe472aab 100644
--- a/libglusterfs/src/glfs-message-id.h
+++ b/libglusterfs/src/glfs-message-id.h
@@ -65,6 +65,12 @@
#define GLFS_MSGID_COMP_DHT_END GLFS_MSGID_COMP_DHT +\
GLFS_MSGID_SEGMENT
+/* there is no component called 'common', however reserving this segment
+ * for common actions/errors like dict_{get/set}, memory accounting*/
+
+#define GLFS_MSGID_COMP_COMMON GLFS_MSGID_COMP_DHT_END
+#define GLFS_MSGID_COMP_COMMON_END (GLFS_MSGID_COMP_COMMON +\
+ GLFS_MSGID_SEGMENT)
/* --- new segments for messages goes above this line --- */