]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: use ObjectOperationImpl for rados_write_op_t
authorCasey Bodley <cbodley@redhat.com>
Tue, 23 May 2023 16:31:54 +0000 (12:31 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 19 Jun 2023 18:31:41 +0000 (14:31 -0400)
commit4e1f0e9f7c6af6dab6d076d1b157ede10c1bb9d4
tree07590553557fe97d60302e54fdfdfb28b3ae3466
parent080046845546097f41f5b96f510e5eb5f2ed2c45
librados: use ObjectOperationImpl for rados_write_op_t

the c++ api uses ObjectOperationImpl to wrap ObjectOperation with
additional storage for an optional mtime. the c api now reuses
ObjectOperationImpl for its write operations only - the mtime isn't
needed for read ops

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4c8f694741b5d4ba38e934f90e91ff269da96e2a)
src/librados/ObjectOperationImpl.h [new file with mode: 0644]
src/librados/librados_c.cc
src/librados/librados_cxx.cc