Re: [Qemu-devel] [PATCH 1/6] block: Add blocker on mirror target

2015-06-24 Thread Fam Zheng
On Wed, 06/24 18:14, Max Reitz wrote: > On 09.06.2015 04:13, Fam Zheng wrote: > >In block/backup.c, we already check and add blocker on the target bs, > >which is necessary so that it won't be intervened with other operations. > > > >In block/mirror.c we should also protect the mirror target bs, be

Re: [Qemu-devel] [PATCH 1/6] block: Add blocker on mirror target

2015-06-24 Thread Max Reitz
On 09.06.2015 04:13, Fam Zheng wrote: In block/backup.c, we already check and add blocker on the target bs, which is necessary so that it won't be intervened with other operations. In block/mirror.c we should also protect the mirror target bs, because it could have a node-name (drive-mirror ...

[Qemu-devel] [PATCH 1/6] block: Add blocker on mirror target

2015-06-08 Thread Fam Zheng
In block/backup.c, we already check and add blocker on the target bs, which is necessary so that it won't be intervened with other operations. In block/mirror.c we should also protect the mirror target bs, because it could have a node-name (drive-mirror ... node-name=XXX), and on top of that it's