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

Method encode_old

src/mds/mdstypes.cc:1105–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105void cap_reconnect_t::encode_old(bufferlist& bl) const {
1106 using ceph::encode;
1107 encode(path, bl);
1108 capinfo.flock_len = flockbl.length();
1109 encode(capinfo, bl);
1110 ceph::encode_nohead(flockbl, bl);
1111}
1112
1113void cap_reconnect_t::decode(bufferlist::const_iterator& bl) {
1114 DECODE_START(2, bl);

Callers 1

encode_payloadMethod · 0.80

Calls 3

encodeFunction · 0.70
encode_noheadFunction · 0.50
lengthMethod · 0.45

Tested by

no test coverage detected