mbox series

[0/3] fix a few blockjob-related deadlocks when using iothread

Message ID 20231019131936.414246-1-f.ebner@proxmox.com
Headers show
Series fix a few blockjob-related deadlocks when using iothread | expand

Message

Fiona Ebner Oct. 19, 2023, 1:19 p.m. UTC
The discussion leading up to this series can be found here:
https://lists.nongnu.org/archive/html/qemu-devel/2023-09/msg00729.html

Fiona Ebner (3):
  blockjob: drop AioContext lock before calling bdrv_graph_wrlock()
  block: avoid deadlock during bdrv_graph_wrlock() in bdrv_close()
  blockdev: mirror: avoid deadlock when using iothread in certain cases

 block.c    |  2 +-
 blockdev.c | 14 ++++++++++++--
 blockjob.c |  2 ++
 3 files changed, 15 insertions(+), 3 deletions(-)

Comments

Kevin Wolf Oct. 25, 2023, 12:01 p.m. UTC | #1
Am 19.10.2023 um 15:19 hat Fiona Ebner geschrieben:
> The discussion leading up to this series can be found here:
> https://lists.nongnu.org/archive/html/qemu-devel/2023-09/msg00729.html
> 
> Fiona Ebner (3):
>   blockjob: drop AioContext lock before calling bdrv_graph_wrlock()
>   block: avoid deadlock during bdrv_graph_wrlock() in bdrv_close()
>   blockdev: mirror: avoid deadlock when using iothread in certain cases

Thanks, applied to the block branch.

Kevin