]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/async: Update `use_blocked` for newer asio
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 6 Aug 2025 20:02:32 +0000 (16:02 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 7 Aug 2025 19:32:15 +0000 (15:32 -0400)
commitbdad7912f8d48972e09bf3a0c206c381bd9312a7
tree98f2f88a710e62171554d0e2f6340d0f16b15605
parent654131c5436133c68a2c53d8efb0879e6ab8cf45
common/async: Update `use_blocked` for newer asio

Reimplement with `initiate` rather than the old style. This
necessitates getting rid of the old `async::Completion` in anything
that was calling it, and other changes.

Also, use disposition for error handling.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit e81d4eae4e76f9c279cd8f146dd6cc132a5ed51a)

Conflicts:
src/rgw/driver/rados/rgw_datalog.cc
 - This commit was on top of another bugfix with changes to
   startup/shutdown that has not yet merged.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/async/blocked_completion.h
src/common/async/forward_handler.h
src/common/error_code.h
src/mon/MonClient.cc
src/mon/MonClient.h
src/neorados/RADOS.cc
src/osdc/Objecter.cc
src/osdc/Objecter.h
src/rgw/driver/rados/rgw_datalog.cc
src/rgw/radosgw-admin/radosgw-admin.cc
src/test/common/test_blocked_completion.cc