SIGN IN SIGN UP

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>
E
Edwin Rodriguez committed
c4472c0f9c6ee76a70ec50741960572766fdb67b
Parent: 1817911