aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2025-05-30 17:11:16 +0200
committerKevin Wolf <kwolf@redhat.com>2025-07-14 15:42:12 +0200
commit7bb9bd52ec2b058acc1957a92ea505d8a4e12077 (patch)
tree9c454c1b92d4a028faa77de27783b3e6ba83c7c6
parentf3e84330f730b2f734d9fec6762d9f4ff570468d (diff)
downloadqemu-7bb9bd52ec2b058acc1957a92ea505d8a4e12077.zip
qemu-7bb9bd52ec2b058acc1957a92ea505d8a4e12077.tar.gz
qemu-7bb9bd52ec2b058acc1957a92ea505d8a4e12077.tar.bz2
block-backend: mark blk_io_limits_disable() as GRAPH_UNLOCKED
The function blk_io_limits_disable() calls bdrv_drained_begin(), which must be called with the graph unlocked. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20250530151125.955508-40-f.ebner@proxmox.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--include/system/block-backend-global-state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system/block-backend-global-state.h b/include/system/block-backend-global-state.h
index f6ec117..c384964 100644
--- a/include/system/block-backend-global-state.h
+++ b/include/system/block-backend-global-state.h
@@ -109,7 +109,7 @@ int blk_probe_blocksizes(BlockBackend *blk, BlockSizes *bsz);
int blk_probe_geometry(BlockBackend *blk, HDGeometry *geo);
void blk_set_io_limits(BlockBackend *blk, ThrottleConfig *cfg);
-void blk_io_limits_disable(BlockBackend *blk);
+void GRAPH_UNLOCKED blk_io_limits_disable(BlockBackend *blk);
void blk_io_limits_enable(BlockBackend *blk, const char *group);
void blk_io_limits_update_group(BlockBackend *blk, const char *group);
void blk_set_force_allow_inactivate(BlockBackend *blk);