]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: mark change_aio_ctx() callback and instances as GRAPH_RDLOCK(_PTR)
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 30 May 2025 15:10:43 +0000 (17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 4 Jun 2025 16:16:33 +0000 (18:16 +0200)
commit844d550d09ac29ff2b1b49069587ae6a989df31d
treebe7b2e7841c104493a245b320deee83bda26caeb
parent3758733959af93b5eb3283659d868ad5b24152b4
block: mark change_aio_ctx() callback and instances as GRAPH_RDLOCK(_PTR)

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-7-f.ebner@proxmox.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/block-backend.c
blockjob.c
include/block/block_int-common.h