]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: aio_operate() supports ObjectWriteOperation::mtime2()
authorCasey Bodley <cbodley@redhat.com>
Mon, 22 May 2023 21:36:43 +0000 (17:36 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 19 Jun 2023 18:32:06 +0000 (14:32 -0400)
commitcd0c47cb7a193b5fc051bdc3bba93ce4b61bf01c
treefa9834466e4edd91d236dab21cb88b1e62045b6a
parentbda07a66e1503394e0e172fa530e793f4be82cf3
librados: aio_operate() supports ObjectWriteOperation::mtime2()

copy the optional mtime logic from operate(), so that mtimes set on the
ObjectOperation are propagated through aio_operate() as well

Fixes: https://tracker.ceph.com/issues/61349
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit cdf54ff1ca5ab95ee0559329b0820a1686d21c54)
src/librados/IoCtxImpl.cc
src/librados/IoCtxImpl.h
src/librados/librados_c.cc
src/librados/librados_cxx.cc
src/test/librados_test_stub/LibradosTestStub.cc
src/test/librados_test_stub/MockTestMemIoCtxImpl.h
src/test/librados_test_stub/NeoradosTestStub.cc
src/test/librados_test_stub/TestIoCtxImpl.cc
src/test/librados_test_stub/TestIoCtxImpl.h
src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc