-
Kevin Wolf authored
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>Kevin Wolf authoredAmongst 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>
Loading