]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore: print out the error if do_read_entry() fails 18346/head
authorKefu Chai <kchai@redhat.com>
Tue, 17 Oct 2017 09:08:59 +0000 (17:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 17 Oct 2017 09:08:59 +0000 (17:08 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/filestore/FileJournal.cc

index 15ed6eeb2d3469abe7b4ad707340e95dd078e796..1b8c1bd63d9eefd2441d97ea2796299528385c9b 100644 (file)
@@ -1973,6 +1973,8 @@ bool FileJournal::read_entry(
         journaled_seq = seq;
       return true;
     }
+  } else {
+    derr << "do_read_entry(" << pos << "): " << ss.str() << dendl;
   }
 
   if (seq && seq < header.committed_up_to) {
@@ -1988,7 +1990,6 @@ bool FileJournal::read_entry(
     }
   }
 
-  dout(25) << ss.str() << dendl;
   dout(2) << "No further valid entries found, journal is most likely valid"
          << dendl;
   return false;