]> git.proxmox.com Git - mirror_qemu.git/commit
Revert "graph-lock: Disable locking for now"
authorKevin Wolf <kwolf@redhat.com>
Mon, 5 Jun 2023 08:57:11 +0000 (10:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 28 Jun 2023 06:46:26 +0000 (08:46 +0200)
commit3cce22defb4b0e47cf135444e30cc673cff5ebad
tree685284269455f0a07afa1e86da1a2ed90662ba6c
parent31b2ddfea304afc498aca8cac171020ef33eb89b
Revert "graph-lock: Disable locking for now"

Now that bdrv_graph_wrlock() temporarily drops the AioContext lock that
its caller holds, it can poll without causing deadlocks. We can now
re-enable graph locking.

This reverts commit ad128dff0bf4b6f971d05eb4335a627883a19c1d.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230605085711.21261-12-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/graph-lock.c