]> git-server-git.apps.pok.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:33:42 +0000 (14:33 -0400)
commit1f4152df9c1272e7d04193270af6fa3724c71f01
tree917b2c853f8a39dde7f0a0b9e7d9bfb42997340d
parent6c734507057d3714b7124a35469cdd81975d76f6
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