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

Method decode_payload

src/messages/MOSDECSubOpReadReply.h:49–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 {}
48
49 void decode_payload() override {
50 using ceph::decode;
51 auto p = payload.cbegin();
52 auto d = data.cbegin();
53 decode(pgid, p);
54 decode(map_epoch, p);
55 op.decode(p, d);
56 if (header.version >= 2) {
57 decode(min_epoch, p);
58 decode_trace(p);
59 } else {
60 min_epoch = map_epoch;
61 }
62 }
63
64 void encode_payload(uint64_t features) override {
65 using ceph::encode;

Callers

nothing calls this directly

Calls 3

decodeFunction · 0.50
cbeginMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected