New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quincy: librados: aio operate functions can set mtimes #52118
Conversation
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 cdf54ff)
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 4c8f694)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 0bfb144)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit b888821)
@cbodley I can't build branch with this PR and suspect this PR [ 63%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_aio.dir/aio.cc.o |
okay, looking |
ok, i see that my original PR #51681 added |
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit ec29234) Conflicts: src/test/librados/aio.cc: removed test case for rados_aio_write_op_operate2() which wasn't backported test case for rados_aio_write_op_operate() uses rados_stat() instead of rados_stat2() which doesn't exist on quincy
caeca6c
to
855697d
Compare
updated, conflicts are documented in the final commit |
jenkins test make check |
backport tracker: https://tracker.ceph.com/issues/61731
backport of #51681
parent tracker: https://tracker.ceph.com/issues/61349
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh