Re: [RFC PATCH 0/3] block-copy: lock tasks and calls list

2021-04-21 Thread Paolo Bonzini
On 21/04/21 10:53, Vladimir Sementsov-Ogievskiy wrote: Good point. Emanuele, can you work on ProgressMeter and SharedResource? AioTaskPool can also be converted to just use CoQueue instead of manually waking up coroutines. That would be great. I have one more question in mind: Is it effe

Re: [RFC PATCH 0/3] block-copy: lock tasks and calls list

2021-04-21 Thread Vladimir Sementsov-Ogievskiy
21.04.2021 11:38, Paolo Bonzini wrote: On 20/04/21 15:12, Vladimir Sementsov-Ogievskiy wrote: 20.04.2021 13:04, Emanuele Giuseppe Esposito wrote: This serie of patches continues Paolo's series on making the block layer thread safe. Add a CoMutex lock for both tasks and calls list present in blo

Re: [RFC PATCH 0/3] block-copy: lock tasks and calls list

2021-04-21 Thread Paolo Bonzini
On 20/04/21 15:12, Vladimir Sementsov-Ogievskiy wrote: 20.04.2021 13:04, Emanuele Giuseppe Esposito wrote: This serie of patches continues Paolo's series on making the block layer thread safe. Add a CoMutex lock for both tasks and calls list present in block/block-copy.c I think, we need more

Re: [RFC PATCH 0/3] block-copy: lock tasks and calls list

2021-04-20 Thread Vladimir Sementsov-Ogievskiy
20.04.2021 13:04, Emanuele Giuseppe Esposito wrote: This serie of patches continues Paolo's series on making the block layer thread safe. Add a CoMutex lock for both tasks and calls list present in block/block-copy.c I think, we need more information about what kind of thread-safety we want.

[RFC PATCH 0/3] block-copy: lock tasks and calls list

2021-04-20 Thread Emanuele Giuseppe Esposito
This serie of patches continues Paolo's series on making the block layer thread safe. Add a CoMutex lock for both tasks and calls list present in block/block-copy.c Signed-off-by: Emanuele Giuseppe Esposito Emanuele Giuseppe Esposito (3): block-copy: improve documentation for BlockCopyTask typ