ceph-rust icon indicating copy to clipboard operation
ceph-rust copied to clipboard

Make WriteOperation usable

Open Ten0 opened this issue 1 year ago • 0 comments

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.

This commit makes WriteOperation usable.

Ten0 avatar Apr 07 '24 17:04 Ten0