summary refs log tree commit diff stats
path: root/util/async.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2023-05-16 15:02:32 -0400
committerKevin Wolf <kwolf@redhat.com>2023-05-30 17:32:02 +0200
commit3d499a43a25571dcacb3a25330357af5e0be9bca (patch)
treecf6e2c4857a4488e8e0fd4669f6769d1337f1fa8 /util/async.c
parent195332c1d9b7e510097495bda2a038467a5869f7 (diff)
downloadfocaccia-qemu-3d499a43a25571dcacb3a25330357af5e0be9bca.tar.gz
focaccia-qemu-3d499a43a25571dcacb3a25330357af5e0be9bca.zip
block/export: don't require AioContext lock around blk_exp_ref/unref()
The FUSE export calls blk_exp_ref/unref() without the AioContext lock.
Instead of fixing the FUSE export, adjust blk_exp_ref/unref() so they
work without the AioContext lock. This way it's less error-prone.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230516190238.8401-15-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions