[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/6] block/block-copy: allocate buffer in block_copy_with_bou
From: |
Max Reitz |
Subject: |
Re: [PATCH 1/6] block/block-copy: allocate buffer in block_copy_with_bounce_buffer |
Date: |
Mon, 7 Oct 2019 15:30:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 |
On 03.10.19 19:15, Vladimir Sementsov-Ogievskiy wrote:
> Move bounce_buffer allocation block_copy_with_bounce_buffer. This
> commit simplifies further work on implementing copying by larger chunks
> (of different size) and further asynchronous handling of block_copy
> iterations (with help of block/aio_task API).
>
> Allocation works fast, a lot faster than disk io, so it's not a problem
> that we now allocate/free bounce_buffer more times. And we anyway will
> have to allocate several bounce_buffers for parallel execution of loop
> iterations in future.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> ---
> block/block-copy.c | 21 ++++++++-------------
> 1 file changed, 8 insertions(+), 13 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH 5/6] block/block-copy: add memory limit, (continued)
- Re: [PATCH 5/6] block/block-copy: add memory limit, Vladimir Sementsov-Ogievskiy, 2019/10/07
- Re: [PATCH 5/6] block/block-copy: add memory limit, Max Reitz, 2019/10/08
- Re: [PATCH 5/6] block/block-copy: add memory limit, Vladimir Sementsov-Ogievskiy, 2019/10/08
- Re: [PATCH 5/6] block/block-copy: add memory limit, Vladimir Sementsov-Ogievskiy, 2019/10/08
- Re: [PATCH 5/6] block/block-copy: add memory limit, Max Reitz, 2019/10/08
- Re: [PATCH 5/6] block/block-copy: add memory limit, Max Reitz, 2019/10/08
[PATCH 4/6] util: introduce co-shared-amount, Vladimir Sementsov-Ogievskiy, 2019/10/03
[PATCH 1/6] block/block-copy: allocate buffer in block_copy_with_bounce_buffer, Vladimir Sementsov-Ogievskiy, 2019/10/03
- Re: [PATCH 1/6] block/block-copy: allocate buffer in block_copy_with_bounce_buffer,
Max Reitz <=
[PATCH 3/6] block/block-copy: refactor copying, Vladimir Sementsov-Ogievskiy, 2019/10/03
[PATCH 6/6] block/block-copy: increase buffered copy request, Vladimir Sementsov-Ogievskiy, 2019/10/03