]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: mark bdrv_child_change_aio_context() GRAPH_RDLOCK
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 30 May 2025 15:10:44 +0000 (17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 4 Jun 2025 16:16:33 +0000 (18:16 +0200)
commit469422c45b3a816eaf36e7edc895c81e0f3d38bb
tree9a6e42b8cbbb53b002e9e087c225199b6494f933
parent844d550d09ac29ff2b1b49069587ae6a989df31d
block: mark bdrv_child_change_aio_context() GRAPH_RDLOCK

This is a small step in preparation to mark bdrv_drained_begin() as
GRAPH_UNLOCKED. More concretely, it is in preparation to move the
drain out of bdrv_change_aio_context() and marking that function as
GRAPH_RDLOCK.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20250530151125.955508-8-f.ebner@proxmox.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/block/block-global-state.h