Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-07-01 Thread Max Reitz
On 01.07.2015 03:08, Wen Congyang wrote: On 06/30/2015 09:17 PM, Max Reitz wrote: On 29.06.2015 03:16, Wen Congyang wrote: On 06/26/2015 11:16 PM, Max Reitz wrote: I see two solutions to this issue: Either, we do it right and that means, if there is a change in the BDS graph (e.g. because of

Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-30 Thread Wen Congyang
On 06/30/2015 09:17 PM, Max Reitz wrote: > On 29.06.2015 03:16, Wen Congyang wrote: >> On 06/26/2015 11:16 PM, Max Reitz wrote: >>> On 26.06.2015 16:27, Wen Congyang wrote: At 2015/6/26 21:47, Max Reitz Wrote: > On 25.06.2015 08:41, Wen Congyang wrote: >> We can use block job mirror to

Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-30 Thread Max Reitz
On 29.06.2015 03:16, Wen Congyang wrote: On 06/26/2015 11:16 PM, Max Reitz wrote: On 26.06.2015 16:27, Wen Congyang wrote: At 2015/6/26 21:47, Max Reitz Wrote: On 25.06.2015 08:41, Wen Congyang wrote: We can use block job mirror to repair broken quorum files. But the command 'info block' does

Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-28 Thread Wen Congyang
On 06/26/2015 11:16 PM, Max Reitz wrote: > On 26.06.2015 16:27, Wen Congyang wrote: >> At 2015/6/26 21:47, Max Reitz Wrote: >>> On 25.06.2015 08:41, Wen Congyang wrote: We can use block job mirror to repair broken quorum files. But the command 'info block' doesn't output correct file

Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-26 Thread Max Reitz
On 26.06.2015 16:27, Wen Congyang wrote: At 2015/6/26 21:47, Max Reitz Wrote: On 25.06.2015 08:41, Wen Congyang wrote: We can use block job mirror to repair broken quorum files. But the command 'info block' doesn't output correct filename after block job mirror finishes. Which filename? The q

Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-26 Thread Wen Congyang
At 2015/6/26 21:47, Max Reitz Wrote: On 25.06.2015 08:41, Wen Congyang wrote: We can use block job mirror to repair broken quorum files. But the command 'info block' doesn't output correct filename after block job mirror finishes. Which filename? The quorum filename is broken after this patch,

Re: [Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-26 Thread Max Reitz
On 25.06.2015 08:41, Wen Congyang wrote: We can use block job mirror to repair broken quorum files. But the command 'info block' doesn't output correct filename after block job mirror finishes. Which filename? The quorum filename is broken after this patch, too. In order to fix this, we need t

[Qemu-devel] [PATCH] refresh filename after the node is replaced

2015-06-24 Thread Wen Congyang
We can use block job mirror to repair broken quorum files. But the command 'info block' doesn't output correct filename after block job mirror finishes. Signed-off-by: Wen Congyang --- block/mirror.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/block/mirror.c b/block/mirror.c index 8aa