[pve-devel] qemu-server: drive-mirror improvements

Alexandre DERUMIER aderumier at odiso.com
Tue May 12 03:04:46 CEST 2015


>>This sounds like it could fix the corruption issues we have been experiencing when doing drive-mirror's on RBD.

Yes, I hope it'll finally fix it. (another user report same problem with rbd too)


----- Mail original -----
De: "Andrew Thrift" <andrew at networklabs.co.nz>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 12 Mai 2015 01:46:42
Objet: Re: [pve-devel] qemu-server: drive-mirror improvements

Thanks Alexandre, 
This sounds like it could fix the corruption issues we have been experiencing when doing drive-mirror's on RBD. 


On Tue, May 12, 2015 at 1:55 AM, Alexandre Derumier < aderumier at odiso.com > wrote: 


this is candidate for proxmox 3.4 fixes && proxmox 4.0 


First patch use new "ready" flag introduce in qemu 2.2, to finish block migration. 
It's the right way to known if we can complete the job. (same flag than qmp ready event) 
(I have also remove the vm pause when target is too slow, it don't work fine in my tests, 
and we can't rely on offset==len to known if the transfert is correctly finished. 



Second patch increse a lot a drive-mirror qmp, because the job is scanning the whole 
source image before return. 
This can be very long with big image on nfs for example. 


_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 






More information about the pve-devel mailing list