On Tue, Sep 29, 2026 at 04:44:16PM +0800, Zhang Chen wrote:
> Update the unit-test IOThread stubs and callers to use
> iothread_ref_and_get_aio_context() together with the matching
> iothread_unref_and_put_aio_context().
> 
> Signed-off-by: Zhang Chen <[email protected]>
> ---
>  tests/unit/iothread.c             | 18 ++++++++++++------
>  tests/unit/iothread.h             |  7 ++++++-
>  tests/unit/test-aio-multithread.c |  5 ++++-
>  tests/unit/test-bdrv-drain.c      | 18 +++++++++++++-----
>  tests/unit/test-block-iothread.c  | 21 ++++++++++++++-------
>  5 files changed, 49 insertions(+), 20 deletions(-)

Reviewed-by: Stefan Hajnoczi <[email protected]>


Reply via email to