Re: [PATCH 3/4] block: make calling bdrv_refresh_limits() safe while holding graph lock

2025-06-04 Thread Klaus Jensen
On Jun 4 14:07, Fiona Ebner wrote: > The bdrv_refresh_limits() function and driver implementations are > called with the graph lock held. The implementation for the 'compress' > filter calls bdrv_get_info(), which is a generated coroutine wrapper > and thus polls. This can lead to a deadlock when

[PATCH 3/4] block: make calling bdrv_refresh_limits() safe while holding graph lock

2025-06-04 Thread Fiona Ebner
The bdrv_refresh_limits() function and driver implementations are called with the graph lock held. The implementation for the 'compress' filter calls bdrv_get_info(), which is a generated coroutine wrapper and thus polls. This can lead to a deadlock when issuing a blockdev-snapshot QMP command, whe