[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH 2/3] qcow2: Always execute preallocate() in a c
From: |
Max Reitz |
Subject: |
Re: [Qemu-stable] [PATCH 2/3] qcow2: Always execute preallocate() in a coroutine |
Date: |
Mon, 9 Oct 2017 23:57:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 2017-10-09 23:55, Max Reitz wrote:
> Some qcow2 functions (at least perform_cow()) expect s->lock to be
> taken. Therefore, if we want to make use of them, we should execute
> preallocate() (as "preallocate_co") in a coroutine so that we can use
> the qemu_co_mutex_* functions.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/qcow2.c | 41 ++++++++++++++++++++++++++++++++++-------
> 1 file changed, 34 insertions(+), 7 deletions(-)
Cc: address@hidden
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-stable] [PATCH 2/3] qcow2: Always execute preallocate() in a coroutine,
Max Reitz <=