[pve-devel] cache unsafe write for qemu-img convert, vma extract and vmstate snapshot
Eneko Lacunza
elacunza at binovo.es
Mon Aug 1 10:00:48 CEST 2016
El 01/08/16 a las 08:50, Alexandre Derumier escribió:
> As reported by Eneko Lacunza,
> ceph/rbd by default use writethrough even if writeback is defined, until a flush is detected.
>
> We currently use writeback without sendind any flush for 3 things:
>
> qemu-img convert : (default is unsafe, but we force writeback in qemuserver)
> vma restore on target destination
> vmstate snapshot
>
> The patches serie set unsafe opening (BDRV_O_NO_FLUSH).
>
> And also fix the rbd drive to disable cache_writethtrough_until_flush if cache=unsafe
>
> @Eneko Lacunza : Can you test it ? I have rewrote your last patch (http://pve.proxmox.com/pipermail/pve-devel/2016-July/022226.html),
> to handle vma extract and vmstate snapshot
I can confirm that extract performance is good with your patch series.
On a side note, it's interesting to see that either a series of patches
or a slow almost-holiday week is needed to readers in the list pay
attention ;)
Cheers
Eneko
--
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943493611
943324914
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es
More information about the pve-devel
mailing list