]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg: Remove dead MMDSOffloadComplete
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 31 Mar 2010 19:51:31 +0000 (12:51 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 31 Mar 2010 21:59:44 +0000 (14:59 -0700)
src/messages/MMDSOffloadComplete.h [deleted file]
src/msg/Message.h

diff --git a/src/messages/MMDSOffloadComplete.h b/src/messages/MMDSOffloadComplete.h
deleted file mode 100644 (file)
index f11e52c..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- 
-// vim: ts=8 sw=2 smarttab
-/*
- * Ceph - scalable distributed file system
- *
- * Copyright (C) 2009 Sage Weil <sage@newdream.net>
- *
- * This is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software 
- * Foundation.  See file COPYING.
- * 
- */
-
-#ifndef __MMDSOffloadComplete_H
-#define __MMDSOffloadComplete_H
-
-#include "msg/Message.h"
-#include "include/types.h"
-
-#include <map>
-using std::map;
-
-class MMDSOffloadComplete : public Message {
- public:
-  map<int, double> targets_used;
-
-  MMDSOffloadComplete() : Message(MSG_MDS_OFFLOAD_COMPLETE) {}
-
-  MMDSOffloadComplete(map<int, double>& mds_targets) :
-    Message(MSG_MDS_OFFLOAD_COMPLETE),
-    targets_used(mds_targets) {}
-
-  const char* get_type_name() { return "mds_offload_complete"; }
-
-  void decode_payload() {
-    bufferlist::iterator p = payload.begin();
-    ::decode(targets_used, p);
-  }
-
-  void encode_payload() {
-    ::encode(targets_used, payload);
-  }
-};
-
-#endif
index 1532a65c7756a57ade8560601c04ec0a180322b0..4f30c7ba409f4aaff7e48158651899eb6a25961d 100644 (file)
@@ -93,7 +93,6 @@
 #define MSG_MDS_DENTRYUNLINK       0x208
 #define MSG_MDS_FRAGMENTNOTIFY     0x209
 #define MSG_MDS_OFFLOAD_TARGETS    0x20a
-#define MSG_MDS_OFFLOAD_COMPLETE   0x20b
 #define MSG_MDS_DENTRYLINK         0x20c
 
 #define MSG_MDS_LOCK               0x300