From 7c44ac371cc7553bd8d29455dafc2c07cf5b96e1 Mon Sep 17 00:00:00 2001 From: Humble Devassy Chirammal Date: Fri, 20 Feb 2015 18:01:50 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/9752 Tested-by: Gluster Build System Tested-by: N Balachandran Reviewed-by: Shyamsundar Ranganathan --- libglusterfs/src/glfs-message-id.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libglusterfs') 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 --- */ -- cgit