mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +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;
|
journaled_seq = seq;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
derr << "do_read_entry(" << pos << "): " << ss.str() << dendl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seq && seq < header.committed_up_to) {
|
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"
|
dout(2) << "No further valid entries found, journal is most likely valid"
|
||||||
<< dendl;
|
<< dendl;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user