diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2009-11-06 14:30:38 -0800 |
---|---|---|
committer | Yehuda Sadeh <yehuda@hq.newdream.net> | 2009-11-06 16:36:10 -0800 |
commit | da089150ce3af874ddfa8b1428a9ec9a793d41ca (patch) | |
tree | 0f6f6dfbbcf42048813d8e663ef547053595b2cf /src/msg | |
parent | 87e4ee30cb53a4f4b131479498d76024e34acd7f (diff) | |
download | ceph-da089150ce3af874ddfa8b1428a9ec9a793d41ca.tar.gz |
auth: manage global id in the auth mon
Diffstat (limited to 'src/msg')
-rw-r--r-- | src/msg/Message.cc | 5 | ||||
-rw-r--r-- | src/msg/Message.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/msg/Message.cc b/src/msg/Message.cc index 31cf665641c..f10b48e3d3a 100644 --- a/src/msg/Message.cc +++ b/src/msg/Message.cc @@ -70,6 +70,7 @@ using namespace std; #include "messages/MClientMountAck.h" #include "messages/MMonSubscribe.h" #include "messages/MMonSubscribeAck.h" +#include "messages/MMonGlobalID.h" #include "messages/MClientSession.h" #include "messages/MClientReconnect.h" #include "messages/MClientRequest.h" @@ -326,6 +327,10 @@ Message *decode_message(ceph_msg_header& header, ceph_msg_footer& footer, m = new MAuthReply; break; + case MSG_MON_GLOBAL_ID: + m = new MMonGlobalID; + break; + // clients case CEPH_MSG_CLIENT_MOUNT: m = new MClientMount; diff --git a/src/msg/Message.h b/src/msg/Message.h index 7906ae1ed9c..bb4ea20f9ad 100644 --- a/src/msg/Message.h +++ b/src/msg/Message.h @@ -36,6 +36,8 @@ #define MSG_GETPOOLSTATS 58 #define MSG_GETPOOLSTATSREPLY 59 +#define MSG_MON_GLOBAL_ID 60 + #define MSG_POOLOP 49 #define MSG_POOLOPREPLY 48 |