]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: fix debug logging output
authorGreg Farnum <greg@inktank.com>
Mon, 7 Jul 2014 19:46:16 +0000 (12:46 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 7 Jul 2014 21:10:07 +0000 (14:10 -0700)
The snapmapper and infos statements were backwards. Now they aren't.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc

index 4dbd570f66fa81d32143a444aafb229aee6d2f27..f6055dbdfd64dda5c54b82c41487db3f8ed6eead 100644 (file)
@@ -1226,7 +1226,7 @@ int OSD::init()
 
   // make sure info object exists
   if (!store->exists(coll_t::META_COLL, service.infos_oid)) {
-    dout(10) << "init creating/touching snapmapper object" << dendl;
+    dout(10) << "init creating/touching infos object" << dendl;
     ObjectStore::Transaction t;
     t.touch(coll_t::META_COLL, service.infos_oid);
     r = store->apply_transaction(t);
@@ -1236,7 +1236,7 @@ int OSD::init()
 
   // make sure snap mapper object exists
   if (!store->exists(coll_t::META_COLL, OSD::make_snapmapper_oid())) {
-    dout(10) << "init creating/touching infos object" << dendl;
+    dout(10) << "init creating/touching snapmapper object" << dendl;
     ObjectStore::Transaction t;
     t.touch(coll_t::META_COLL, OSD::make_snapmapper_oid());
     r = store->apply_transaction(t);