Re: [PATCH for-8.2 0/4] block: Fix deadlocks with the stream job

2023-11-15 Thread Stefan Hajnoczi
On Wed, Nov 15, 2023 at 06:20:08PM +0100, Kevin Wolf wrote: > This series contains three fixes for deadlocks that follow the same > pattern: A nested event loop in the main thread waits for an iothread to > make progress, but the AioContext lock of that iothread is still held by > the main loop, so

[PATCH for-8.2 0/4] block: Fix deadlocks with the stream job

2023-11-15 Thread Kevin Wolf
This series contains three fixes for deadlocks that follow the same pattern: A nested event loop in the main thread waits for an iothread to make progress, but the AioContext lock of that iothread is still held by the main loop, so it can never make progress. We're planning to fully remove the Aio