Files
qemu/block
Fiona Ebner d75f8ed1d7 block: move drain outside of quorum_del_child()
The quorum_del_child() callback runs under the graph lock, so it is
not allowed to drain. It is only called as the .bdrv_del_child()
callback, which is only called in the bdrv_del_child() function, which
also runs under the graph lock.

The bdrv_del_child() function is called by qmp_x_blockdev_change().
A drained section was already introduced there by commit "block: move
drain out of quorum_add_child()".

This finally finishes moving out the drain to places that are not
under the graph lock started in "block: move draining out of
bdrv_change_aio_context() and mark GRAPH_RDLOCK".

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-17-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-06-04 18:16:34 +02:00
..
2024-12-20 17:44:56 +01:00
2025-03-06 14:21:25 +01:00
2024-12-20 17:44:56 +01:00
2023-11-08 17:56:18 +01:00
2025-03-13 17:44:55 +01:00
2025-03-13 17:44:55 +01:00
2024-12-20 17:44:56 +01:00
2025-05-08 10:21:10 -04:00
2023-11-08 17:56:18 +01:00
2023-11-08 17:56:18 +01:00