Searched hist:"87 f130bdaad68baad4216dbc97dec73ab4a2c4ef" (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/unit/ |
H A D | test-bdrv-drain.c | 87f130bdaad68baad4216dbc97dec73ab4a2c4ef Wed May 10 20:35:58 UTC 2023 Kevin Wolf <kwolf@redhat.com> test-bdrv-drain: Take graph lock more selectively
If we take a reader lock, we can't call any functions that take a writer lock internally without causing deadlocks once the reader lock is actually enforced in the main thread, too. Take the reader lock only where it is actually needed.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230510203601.418015-6-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|