[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 16/17] job: Avoid deadlocks in job_completed_
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v2 16/17] job: Avoid deadlocks in job_completed_txn_abort() |
Date: |
Fri, 14 Sep 2018 00:01:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 13.09.18 14:52, Kevin Wolf wrote:
> 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 <address@hidden>
> ---
> job.c | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-block] [PATCH v2 12/17] mirror: Fix potential use-after-free in active commit, (continued)
[Qemu-block] [PATCH v2 13/17] blockjob: Lie better in child_job_drained_poll(), Kevin Wolf, 2018/09/13
[Qemu-block] [PATCH v2 14/17] block: Remove aio_poll() in bdrv_drain_poll variants, Kevin Wolf, 2018/09/13
[Qemu-block] [PATCH v2 15/17] test-bdrv-drain: Test nested poll in bdrv_drain_poll_top_level(), Kevin Wolf, 2018/09/13
[Qemu-block] [PATCH v2 17/17] test-bdrv-drain: AIO_WAIT_WHILE() in job .commit/.abort, Kevin Wolf, 2018/09/13
[Qemu-block] [PATCH v2 16/17] job: Avoid deadlocks in job_completed_txn_abort(), Kevin Wolf, 2018/09/13
- Re: [Qemu-block] [PATCH v2 16/17] job: Avoid deadlocks in job_completed_txn_abort(),
Max Reitz <=