summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 --- */