summaryrefslogtreecommitdiffstats
path: root/include/qemu/job.h
diff options
context:
space:
mode:
authorKevin Wolf2018-09-13 14:35:27 +0200
committerKevin Wolf2018-09-25 15:50:15 +0200
commit644f3a29bd4974aefd46d2adb5062d86063c8a50 (patch)
tree09338f7dd6841ac88e603965ca5b7cefad32689c /include/qemu/job.h
parenttest-bdrv-drain: Test nested poll in bdrv_drain_poll_top_level() (diff)
downloadqemu-644f3a29bd4974aefd46d2adb5062d86063c8a50.tar.gz
qemu-644f3a29bd4974aefd46d2adb5062d86063c8a50.tar.xz
qemu-644f3a29bd4974aefd46d2adb5062d86063c8a50.zip
job: Avoid deadlocks in job_completed_txn_abort()
Amongst others, job_finalize_single() calls the .prepare/.commit/.abort callbacks of the individual job driver. Recently, their use was adapted for all block jobs so that they involve code calling AIO_WAIT_WHILE() now. Such code must be called under the AioContext lock for the respective job, but without holding any other AioContext lock. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/qemu/job.h')
0 files changed, 0 insertions, 0 deletions