Re: [PATCH v2 2/6] block/block-copy: alloc task on each iteration

2020-04-28 Thread Max Reitz
On 25.03.20 14:46, Vladimir Sementsov-Ogievskiy wrote: > We are going to use aio-task-pool API, so tasks will be handled in > parallel. We need therefore separate allocated task on each iteration. > Introduce this logic now. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- >

[PATCH v2 2/6] block/block-copy: alloc task on each iteration

2020-03-25 Thread Vladimir Sementsov-Ogievskiy
We are going to use aio-task-pool API, so tasks will be handled in parallel. We need therefore separate allocated task on each iteration. Introduce this logic now. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/block-copy.c | 18 +++--- 1 file changed, 11 insertions(+), 7