Re: [Qemu-devel] [PATCH v5 1/4] block/io: fix copy_range

2018-07-09 Thread Fam Zheng
On Mon, 07/09 19:37, Vladimir Sementsov-Ogievskiy wrote: > Here two things are fixed: > > 1. Architecture > > On each recursion step, we go to the child of src or dst, only for one > of them. So, it's wrong to create tracked requests for both on each > step. It leads to tracked requests

[Qemu-devel] [PATCH v5 1/4] block/io: fix copy_range

2018-07-09 Thread Vladimir Sementsov-Ogievskiy
Here two things are fixed: 1. Architecture On each recursion step, we go to the child of src or dst, only for one of them. So, it's wrong to create tracked requests for both on each step. It leads to tracked requests duplication. 2. Wait for serializing requests on write path independently of