Re: [PATCH v3 5/5] block/block-copy: use aio-task-pool API

2020-04-29 Thread Vladimir Sementsov-Ogievskiy
29.04.2020 14:55, Max Reitz wrote: On 29.04.20 08:10, Vladimir Sementsov-Ogievskiy wrote: Run block_copy iterations in parallel in aio tasks. Changes: - BlockCopyTask becomes aio task structure. Add zeroes field to pass it to block_copy_do_copy - add call state - it's a state of one

Re: [PATCH v3 5/5] block/block-copy: use aio-task-pool API

2020-04-29 Thread Max Reitz
On 29.04.20 08:10, Vladimir Sementsov-Ogievskiy wrote: > Run block_copy iterations in parallel in aio tasks. > > Changes: > - BlockCopyTask becomes aio task structure. Add zeroes field to pass > it to block_copy_do_copy > - add call state - it's a state of one call of block_copy(), shared

[PATCH v3 5/5] block/block-copy: use aio-task-pool API

2020-04-28 Thread Vladimir Sementsov-Ogievskiy
Run block_copy iterations in parallel in aio tasks. Changes: - BlockCopyTask becomes aio task structure. Add zeroes field to pass it to block_copy_do_copy - add call state - it's a state of one call of block_copy(), shared between parallel tasks. For now used only to keep information a