test-block-iothread: Lock AioContext for blk_insert_bs()
commit2065cf6b2354265b2870d01e561bd374b67280d0
authorKevin Wolf <kwolf@redhat.com>
Mon, 5 Jun 2023 08:57:03 +0000 (5 10:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 28 Jun 2023 06:46:08 +0000 (28 08:46 +0200)
tree931388bfec885ccc3327e6f3de62c410b633cefd
parent415275aed959cd5c766a98b9f0eba54278a7adf5
test-block-iothread: Lock AioContext for blk_insert_bs()

blk_insert_bs() requires that callers hold the AioContext lock for the
node that should be inserted. Take it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230605085711.21261-4-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/unit/test-block-iothread.c