1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3 #include "include/interval_set.h"
4 #include "include/buffer.h"
8 #include "include/rados/librados.h"
9 #include "RadosModel.h"
10 #include "TestOpStat.h"
18 void TestOp::finish(TestOp::CallbackInfo *info)
23 void read_callback(librados::completion_t comp, void *arg) {
24 TestOp* op = static_cast<TestOp*>(arg);
28 void write_callback(librados::completion_t comp, void *arg) {
29 std::pair<TestOp*, TestOp::CallbackInfo*> *args =
30 static_cast<std::pair<TestOp*, TestOp::CallbackInfo*> *>(arg);
31 TestOp* op = args->first;
32 TestOp::CallbackInfo *info = args->second;