]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: output error number when failing to load an MDSTable
authorGreg Farnum <greg@inktank.com>
Fri, 12 Apr 2013 20:12:03 +0000 (13:12 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 12 Apr 2013 20:14:17 +0000 (13:14 -0700)
Signed-off-by: Greg Farnum <greg@inktank.com>
src/mds/MDSTable.cc

index 6db2e9b071f8bfa5a7ece6ddd9164a7fd4f688c6..b90755c18546f0758519cfefc68353508847c86a 100644 (file)
@@ -146,7 +146,7 @@ void MDSTable::load_2(int r, bufferlist& bl, Context *onfinish)
     decode_state(p);
   }
   else {
-    dout(10) << "load_2 found no table" << dendl;
+    dout(10) << "load_2 could not read table; error: " << r << dendl;
     assert(0); // this shouldn't happen if mkfs finished.
     reset();   
   }