]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
* show osdmap content
authorsageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Wed, 6 Jun 2007 22:12:17 +0000 (22:12 +0000)
committersageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Wed, 6 Jun 2007 22:12:17 +0000 (22:12 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1402 29311d96-e01e-0410-9327-a35deaab8ce9

trunk/ceph/messages/MOSDMap.h

index ee75f9bff9b69f5c2bc63427b271edae33ddf828..83929ddd23c2812724d9bb3c2059148418351d01 100644 (file)
@@ -65,6 +65,9 @@ class MOSDMap : public Message {
   }
 
   virtual char *get_type_name() { return "omap"; }
+  void print(ostream& out) {
+    out << "osdmap(" << get_first() << "," << get_last() << ")";
+  }
 };
 
 #endif