mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
Merge pull request #2521 from athanatos/wip-9453
osd_types: fix pg_log_t tail dump Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
0519225beb
@ -2871,7 +2871,7 @@ void pg_log_t::decode(bufferlist::iterator &bl, int64_t pool)
|
||||
void pg_log_t::dump(Formatter *f) const
|
||||
{
|
||||
f->dump_stream("head") << head;
|
||||
f->dump_stream("tail") << head;
|
||||
f->dump_stream("tail") << tail;
|
||||
f->open_array_section("log");
|
||||
for (list<pg_log_entry_t>::const_iterator p = log.begin(); p != log.end(); ++p) {
|
||||
f->open_object_section("entry");
|
||||
|
Loading…
Reference in New Issue
Block a user