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

Function cls_2pc_queue_commit

src/cls/2pc_queue/cls_2pc_queue_client.cc:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void cls_2pc_queue_commit(ObjectWriteOperation& op, std::vector<bufferlist> bl_data_vec,
133 cls_2pc_reservation::id_t res_id) {
134 bufferlist in;
135 cls_2pc_queue_commit_op commit_op;
136 commit_op.id = res_id;
137 commit_op.bl_data_vec = std::move(bl_data_vec);
138 encode(commit_op, in);
139 op.exec(method::commit, in);
140}
141
142void cls_2pc_queue_abort(ObjectWriteOperation& op, cls_2pc_reservation::id_t res_id) {
143 bufferlist in;

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.50
execMethod · 0.45

Tested by

no test coverage detected