Re: [PATCH 11/21] block: Call transaction callbacks with lock held

2023-08-22 Thread Stefan Hajnoczi
On Thu, Aug 17, 2023 at 02:50:10PM +0200, Kevin Wolf wrote: > In previous patches, we changed some transactionable functions to be > marked as GRAPH_WRLOCK, but required that tran_finalize() is still > called without the lock. This was because all callbacks that can be in > the same transaction

[PATCH 11/21] block: Call transaction callbacks with lock held

2023-08-17 Thread Kevin Wolf
In previous patches, we changed some transactionable functions to be marked as GRAPH_WRLOCK, but required that tran_finalize() is still called without the lock. This was because all callbacks that can be in the same transaction need to follow the same convention. Now that we don't have