};
typedef std::shared_ptr<FlushOp> FlushOpRef;
+ struct CLSGatherOp {
+ OpContext *ctx = nullptr;
+ ObjectContextRef obc;
+ OpRequestRef op;
+ std::vector<ceph_tid_t> objecter_tids;
+ int rval = 0;
+
+ CLSGatherOp(OpContext *ctx_, ObjectContextRef obc_, OpRequestRef op_)
+ : ctx(ctx_), obc(obc_), op(op_) {}
+ CLSGatherOp() {}
+ ~CLSGatherOp() {}
+ };
+
friend struct RefCountCallback;
struct ManifestOp {
- RefCountCallback *cb;
- ceph_tid_t objecter_tid;
+ RefCountCallback *cb = nullptr;
+ ceph_tid_t objecter_tid = 0;
OpRequestRef op;
std::map<uint64_t, int> results;
std::map<uint64_t, ceph_tid_t> tids;