The commit in fio https://github.com/axboe/fio/commit/
710bf9c592b849935e1bcc56ffc805fa1d5f9365
changed engine_data to a union which leads build of fio_ceph_objectstore failed.
Signed-off-by: Lisa Li xiaoyan.li@intel.com
for (uint32_t i = 0; i < td->o.nr_files; i++) {
auto f = td->files[i];
f->real_file_size = file_size;
- f->engine_data = i;
+ f->engine_pos = i;
// associate each object with a collection in a round-robin fashion
auto& coll = collections[i % collections.size()];
fio_ro_check(td, u);
auto job = static_cast<Job*>(td->io_ops_data);
- auto& object = job->objects[u->file->engine_data];
+ auto& object = job->objects[u->file->engine_pos];
auto& coll = object.coll;
auto& os = job->engine->os;