Re: [PATCH 1/6] block/block-copy: allocate buffer in block_copy_with_bounce_buffer

2019-10-07 Thread Max Reitz
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

[PATCH 1/6] block/block-copy: allocate buffer in block_copy_with_bounce_buffer

2019-10-03 Thread Vladimir Sementsov-Ogievskiy
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