mirror of
https://github.com/ceph/ceph
synced 2025-01-02 17:12:31 +00:00
os/filestore: print out the error if do_read_entry() fails
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
34f524c96b
commit
42e85fe35d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user