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

Method encode_digest

src/mon/PGMap.cc:1565–1573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1563}
1564
1565void PGMap::encode_digest(const OSDMap& osdmap,
1566 bufferlist& bl, uint64_t features)
1567{
1568 get_rules_avail(osdmap, &avail_space_by_rule);
1569 calc_osd_sum_by_class(osdmap);
1570 calc_purged_snaps();
1571 get_unavailable_pg_in_pool_map(osdmap);
1572 PGMapDigest::encode(bl, features);
1573}
1574
1575void PGMap::encode(bufferlist &bl, uint64_t features) const
1576{

Callers 1

send_reportMethod · 0.80

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected