]> git-server-git.apps.pok.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>
Tue, 23 May 2023 19:37:16 +0000 (15:37 -0400)
commit4c8f694741b5d4ba38e934f90e91ff269da96e2a
tree68b907f76ac848a8167921ee5533bd18c01b5930
parentcdf54ff1ca5ab95ee0559329b0820a1686d21c54
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>
src/librados/ObjectOperationImpl.h [new file with mode: 0644]
src/librados/librados_c.cc
src/librados/librados_cxx.cc