]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
neorados: Go through linger_cancel on `io_context` shutdown
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 6 Mar 2026 00:53:17 +0000 (19:53 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 16 Mar 2026 15:55:42 +0000 (11:55 -0400)
commitf5affe06676bec2f32f856bce85b5d78932d807f
tree2e93a95a54cd703d9861805515ac29411ffaf760
parentb6a54e67cbcf11b23dcd5a5cd59795aeb7ff948e
neorados: Go through linger_cancel on `io_context` shutdown

Rather than just dropping the reference, clean up the linger operation
properly within Objecter. Also, clear out handlers before
relinquishing reference to avoid use-after-free.

Fixes: https://tracker.ceph.com/issues/75164
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
qa/workunits/rados/test.sh
src/neorados/RADOS.cc
src/test/neorados/CMakeLists.txt
src/test/neorados/leak_watch_notify.cc [new file with mode: 0644]