WriteOperation (atomic write operations) is currently not usable because there's no way to construct it.
In addition, the method rados_commit_write_operations takes &mut WriteOperation, but re-using a WriteOperation that has succeeded causes rados to fail an assert and abort the program.
WriteOperation
(atomic write operations) is currently not usable because there's no way to construct it.In addition, the method
rados_commit_write_operations
takes&mut WriteOperation
, but re-using aWriteOperation
that has succeeded causes rados to fail anassert
and abort the program.This commit makes
WriteOperation
usable.