Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Alexandre DERUMIER
:23 Objet: RE: [pve-devel] possible problem with drive-mirror and block-job-completed So, I think current proxmox code detection is correct ? last if ($stat-{len} == $stat-{offset}); Would you mind to ask on the qemu list? Maybe it could be possible to retrieve the synced property

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Dietmar Maurer
Now, I have tell to the user forum to put a sleep, Maybe the user uses old qemu-kvm? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Alexandre DERUMIER
-devel] possible problem with drive-mirror and block-job-completed Now, I have tell to the user forum to put a sleep, Maybe the user uses old qemu-kvm? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Dietmar Maurer
I'll ask . Do you have seen something new in last qemu-kvm ? Maybe this one: http://lists.nongnu.org/archive/html/qemu-stable/2014-08/msg00189.html ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Alexandre DERUMIER
Octobre 2014 09:40:20 Objet: RE: [pve-devel] possible problem with drive-mirror and block-job-completed I'll ask . Do you have seen something new in last qemu-kvm ? Maybe this one: http://lists.nongnu.org/archive/html/qemu-stable/2014-08/msg00189.html

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Alexandre DERUMIER
Objet: Re: [pve-devel] possible problem with drive-mirror and block-job-completed Also make sure you are testing with latest qemu (2.1.2). I'll try to reproduce it today. (I never had this problem with nfs, maybe it's related to rbd with writeback) - Mail original - De: Dietmar

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Dietmar Maurer
So, I think current proxmox code detection is correct ? last if ($stat-{len} == $stat-{offset}); Would you mind to ask on the qemu list? Maybe it could be possible to retrieve the synced property without event, with some hack ? I guess that is possible, because current code ($stat-{len}

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Dietmar Maurer
Maybe it could be possible to retrieve the synced property without event, with some hack ? I guess that is possible, because current code ($stat-{len} == $stat-{offset}) does the same thing. need to correct myself: I guess that is possible, but it will not help because current code

[pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
Hi, Bug report here: http://forum.proxmox.com/threads/19733-storage-migration-virtio-failed?p=101317#post101317 Rbd - rbd drive mirror. Currently, we are using qmp block-job-complete just after drive-mirror, but block-job-complete need to be sure that drives are correctly sync static

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
; } $old_len = $stat-{offset}; sleep 1; } - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: pve-devel@pve.proxmox.com Envoyé: Mercredi 1 Octobre 2014 16:09:40 Objet: [pve-devel] possible problem with drive-mirror and block-job

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
. - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: pve-devel@pve.proxmox.com Envoyé: Mercredi 1 Octobre 2014 16:09:40 Objet: [pve-devel] possible problem with drive-mirror and block-job-completed Hi, Bug report here: http://forum.proxmox.com/threads/19733-storage-migration

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Dietmar Maurer
Also make sure you are testing with latest qemu (2.1.2). Maybe it could be possible to retrieve the synced property without event, with some hack ? (through classic qmp query) ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
@pve.proxmox.com Envoyé: Jeudi 2 Octobre 2014 07:30:33 Objet: RE: [pve-devel] possible problem with drive-mirror and block-job-completed Also make sure you are testing with latest qemu (2.1.2). Maybe it could be possible to retrieve the synced property without event, with some hack ? (through