diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-10-27 17:53:27 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-08 17:56:17 +0100 |
| commit | 244b26d259bc56097b2d82690847cb7657e22830 (patch) | |
| tree | 0471f52374e62ed91513436df99ebcb2fba458b6 /scripts/qapi/common.py | |
| parent | 004915a96a7a40e942ac85e6d22518cbcd283506 (diff) | |
| download | focaccia-qemu-244b26d259bc56097b2d82690847cb7657e22830.tar.gz focaccia-qemu-244b26d259bc56097b2d82690847cb7657e22830.zip | |
blkverify: Add locking for request_fn
This is either bdrv_co_preadv() or bdrv_co_pwritev() which both need to have the graph locked. Annotate the function pointer accordingly and add locking to its callers. This shouldn't actually have resulted in a bug because the graph lock is already held by blkverify_co_prwv(), which waits for the coroutines to terminate. Annotate with GRAPH_RDLOCK as well to make this clearer. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20231027155333.420094-19-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions