[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 3/4] block/qcow2: refactor qcow2_co_pwritev_p
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 3/4] block/qcow2: refactor qcow2_co_pwritev_part |
Date: |
Thu, 15 Aug 2019 16:02:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 15.08.19 14:10, Vladimir Sementsov-Ogievskiy wrote:
> Similarly to previous commit, prepare for parallelizing write-loop
> iterations.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> ---
> block/qcow2.c | 153 +++++++++++++++++++++++++++++---------------------
> 1 file changed, 89 insertions(+), 64 deletions(-)
>
> diff --git a/block/qcow2.c b/block/qcow2.c
> index 89afb4272e..3aaa180e2b 100644
> --- a/block/qcow2.c
> +++ b/block/qcow2.c
> @@ -2234,6 +2234,87 @@ static int handle_alloc_space(BlockDriverState *bs,
> QCowL2Meta *l2meta)
> return 0;
> }
>
> +/*
> + * qcow2_co_pwritev_task
> + * Called with s->lock unlocked
> + * l2meta - if not NULL, qcow2_co_do_pwritev() will consume it. Caller must
> not
You missed this instance of “qcow2_co_do_pwritev()”.
With that fixed:
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 0/4] qcow2: async handling of fragmented io, Vladimir Sementsov-Ogievskiy, 2019/08/15
- [Qemu-devel] [PATCH v3 1/4] block: introduce aio task pool, Vladimir Sementsov-Ogievskiy, 2019/08/15
- [Qemu-devel] [PATCH v3 3/4] block/qcow2: refactor qcow2_co_pwritev_part, Vladimir Sementsov-Ogievskiy, 2019/08/15
- Re: [Qemu-devel] [PATCH v3 3/4] block/qcow2: refactor qcow2_co_pwritev_part,
Max Reitz <=
- [Qemu-devel] [PATCH v3 2/4] block/qcow2: refactor qcow2_co_preadv_part, Vladimir Sementsov-Ogievskiy, 2019/08/15
- [Qemu-devel] [PATCH v3 4/4] block/qcow2: introduce parallel subrequest handling in read and write, Vladimir Sementsov-Ogievskiy, 2019/08/15
- Re: [Qemu-devel] [PATCH v3 0/4] qcow2: async handling of fragmented io, Max Reitz, 2019/08/15
- Re: [Qemu-devel] [PATCH v3 0/4] qcow2: async handling of fragmented io, Max Reitz, 2019/08/15