]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: add handle_osd_map debug output
authorGreg Farnum <greg@inktank.com>
Thu, 3 Apr 2014 21:24:22 +0000 (14:24 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:14 +0000 (15:29 -0700)
Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc

index 8c1c59758238c2af770f460e4b01a4cbc3df3d32..2ca8431f04ec2937a3935d4d9f72ff59091e9879 100644 (file)
@@ -5369,6 +5369,8 @@ void OSD::handle_osd_map(MOSDMap *m)
   Session *session = static_cast<Session *>(m->get_connection()->get_priv());
   if (session && !(session->entity_name.is_mon() || session->entity_name.is_osd())) {
     //not enough perms!
+    dout(10) << "got osd map from Session " << session
+             << " which we can't take maps from (not a mon or osd)" << dendl;
     m->put();
     session->put();
     return;