]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-tool: wait for async callbacks before freeing contexts 68519/head
authorEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Thu, 2 Jul 2026 18:37:25 +0000 (14:37 -0400)
committerEdwin Rodriguez <edwin.rodriguez1@ibm.com>
Thu, 2 Jul 2026 18:40:22 +0000 (14:40 -0400)
commitc4472c0f9c6ee76a70ec50741960572766fdb67b
tree30e8be7108a2e4f7defc5889762a38ce090483d2
parent18179111ba83bc4852325976d7d4faa2a7140087
cephfs-tool: wait for async callbacks before freeing contexts

bench_async_write_worker destroyed AsyncIOContext while the finisher
still ran async_io_callback after setting completed. Track in-flight
callbacks per worker and drain before tearing down the io_queue.

Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
src/tools/cephfs/cephfs-tool.cc