: num(n),
context(context),
stat(stat),
- done(0)
+ done(false)
{}
virtual ~TestOp() {};
string oid;
librados::ObjectWriteOperation op;
librados::AioCompletion *comp;
- bool done;
RemoveAttrsOp(int n, RadosTestContext *context,
const string &oid,
TestOpStat *stat)
- : TestOp(n, context, stat), oid(oid), comp(NULL), done(false)
+ : TestOp(n, context, stat), oid(oid), comp(NULL)
{}
void _begin()
string oid;
librados::ObjectWriteOperation op;
librados::AioCompletion *comp;
- bool done;
SetAttrsOp(int n,
RadosTestContext *context,
const string &oid,
TestOpStat *stat)
: TestOp(n, context, stat),
- oid(oid), comp(NULL), done(false)
+ oid(oid), comp(NULL)
{}
void _begin()
public:
string oid;
int roll_back_to;
- bool done;
librados::ObjectWriteOperation zero_write_op1;
librados::ObjectWriteOperation zero_write_op2;
librados::ObjectWriteOperation op;
TestOpStat *stat = 0)
: TestOp(n, context, stat),
oid(_oid), roll_back_to(-1),
- done(false),
comps(3, NULL),
last_finished(-1), outstanding(3)
{}
};
class HitSetListOp : public TestOp {
- bool done;
librados::AioCompletion *comp1, *comp2;
uint32_t hash;
std::list< std::pair<time_t, time_t> > ls;
uint32_t hash,
TestOpStat *stat = 0)
: TestOp(n, context, stat),
- done(false), comp1(NULL), comp2(NULL),
+ comp1(NULL), comp2(NULL),
hash(hash)
{}