diff options
| author | Kevin Wolf | 2018-09-06 11:58:01 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-09-25 15:50:15 +0200 |
| commit | ae23dde9dd486e57e152a0ebc9802caddedc45fc (patch) | |
| tree | 06785afe07e4dd7ec1d804decfe627172f7c40dc /include/exec | |
| parent | job: Use AIO_WAIT_WHILE() in job_finish_sync() (diff) | |
| download | qemu-ae23dde9dd486e57e152a0ebc9802caddedc45fc.tar.gz qemu-ae23dde9dd486e57e152a0ebc9802caddedc45fc.tar.xz qemu-ae23dde9dd486e57e152a0ebc9802caddedc45fc.zip | |
test-bdrv-drain: Test AIO_WAIT_WHILE() in completion callback
This is a regression test for a deadlock that occurred in block job
completion callbacks (via job_defer_to_main_loop) because the AioContext
lock was taken twice: once in job_finish_sync() and then again in
job_defer_to_main_loop_bh(). This would cause AIO_WAIT_WHILE() to hang.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
