]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Introduce Message flag values used by XioMessenger.
authorMatt Benjamin <matt@cohortfs.com>
Tue, 23 Dec 2014 21:13:22 +0000 (16:13 -0500)
committerMatt Benjamin <matt@cohortfs.com>
Wed, 14 Jan 2015 21:42:39 +0000 (16:42 -0500)
These correspond to bits in Message::magic and the erstwhile
"special_handling" member.

Signed-off-by: Matt Benjamin <matt@cohortfs.com>
src/msg/Message.h

index 9af8e62bb9a56a02df9d7254024fb6c92d25d801..7243d0cf731877fe2068591676fd17ad73b0c365 100644 (file)
 
 namespace bi = boost::intrusive;
 
+// XioMessenger conditional trace flags
+#define MSG_MAGIC_XIO          0x0002
+#define MSG_MAGIC_TRACE_XCON   0x0004
+#define MSG_MAGIC_TRACE_DTOR   0x0008
+#define MSG_MAGIC_TRACE_HDR    0x0010
+#define MSG_MAGIC_TRACE_XIO    0x0020
+#define MSG_MAGIC_TRACE_XMSGR  0x0040
+#define MSG_MAGIC_TRACE_CTR    0x0080
+
+// XioMessenger diagnostic "ping pong" flag (resend msg when send completes)
+#define MSG_MAGIC_REDUPE       0x0100
+
 class Message : public RefCountedObject {
 protected:
   ceph_msg_header  header;      // headerelope