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

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

Reply via email to