diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-09-13 14:35:27 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-09-25 15:50:15 +0200 |
commit | 644f3a29bd4974aefd46d2adb5062d86063c8a50 (patch) | |
tree | 09338f7dd6841ac88e603965ca5b7cefad32689c /tests | |
parent | ecc1a5c790cf2c7732cb9755ca388c2fe108d1a1 (diff) |
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 'tests')
0 files changed, 0 insertions, 0 deletions