MCPcopy Create free account
hub / github.com/ceph/ceph / dump

Method dump

src/client/MetaSession.cc:25–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void MetaSession::dump(Formatter *f, bool cap_dump) const
26{
27 f->dump_int("mds", mds_num);
28 f->dump_object("addrs", addrs);
29 f->dump_unsigned("seq", seq);
30 f->dump_unsigned("cap_gen", cap_gen);
31 f->dump_stream("cap_ttl") << cap_ttl;
32 f->dump_stream("last_cap_renew_request") << last_cap_renew_request;
33 f->dump_unsigned("cap_renew_seq", cap_renew_seq);
34 f->dump_int("num_caps", caps.size());
35 if (cap_dump) {
36 f->open_array_section("caps");
37 for (const auto& cap : caps) {
38 f->dump_object("cap", *cap);
39 }
40 f->close_section();
41 }
42 f->dump_string("state", get_state_name());
43}
44
45void MetaSession::enqueue_cap_release(inodeno_t ino, uint64_t cap_id, ceph_seq_t iseq,
46 ceph_seq_t mseq, epoch_t osd_barrier)

Callers

nothing calls this directly

Calls 8

dump_intMethod · 0.45
dump_objectMethod · 0.45
dump_unsignedMethod · 0.45
dump_streamMethod · 0.45
sizeMethod · 0.45
open_array_sectionMethod · 0.45
close_sectionMethod · 0.45
dump_stringMethod · 0.45

Tested by

no test coverage detected