From: Kefu Chai Date: Tue, 17 Oct 2017 09:08:59 +0000 (+0800) Subject: os/filestore: print out the error if do_read_entry() fails X-Git-Tag: v13.0.1~509^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=42e85fe35d2fe8f3e99bd110021fd5157cf589d7;p=ceph-ci.git os/filestore: print out the error if do_read_entry() fails Signed-off-by: Kefu Chai --- diff --git a/src/os/filestore/FileJournal.cc b/src/os/filestore/FileJournal.cc index 15ed6eeb2d3..1b8c1bd63d9 100644 --- a/src/os/filestore/FileJournal.cc +++ b/src/os/filestore/FileJournal.cc @@ -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;