[Qemu-block] [PATCH v6 14/22] mirror: Disable image locking on target backing chain

2016-06-03 Thread Fam Zheng
In sync=none the backing image of s->target is s->common.bs, which could be exclusively locked, the image locking wouldn't work here. Later we can update completion code to lock it after the replaced node has dropped its lock. Signed-off-by: Fam Zheng --- blockdev.c | 10 -- 1 file chan

Re: [Qemu-block] [PATCH v6 14/22] mirror: Disable image locking on target backing chain

2016-06-06 Thread Max Reitz
On 03.06.2016 10:49, Fam Zheng wrote: > In sync=none the backing image of s->target is s->common.bs, which could > be exclusively locked, the image locking wouldn't work here. > > Later we can update completion code to lock it after the replaced node > has dropped its lock. > > Signed-off-by: Fam

Re: [Qemu-block] [PATCH v6 14/22] mirror: Disable image locking on target backing chain

2016-06-07 Thread Fam Zheng
On Mon, 06/06 17:03, Max Reitz wrote: > On 03.06.2016 10:49, Fam Zheng wrote: > > In sync=none the backing image of s->target is s->common.bs, which could > > be exclusively locked, the image locking wouldn't work here. > > > > Later we can update completion code to lock it after the replaced node