El 26/07/16 a las 13:15, Dietmar Maurer escribió:
Index: b/vma.c
===================================================================
--- a/vma.c
+++ b/vma.c
@@ -328,6 +328,12 @@ static int extract_content(int argc, cha
              }


+            /* Force rbd cache */
+            if (0 == strncmp(devfn, "rbd:", strlen("rbd:"))) {
+                char *devfn_new =
g_strdup_printf("%s:rbd_cache_writethrough_until_flush=false", devfn);

Would it be enough to do a single

   bdrv_flush(bs)

after blk_new_open() ?


Yes.


--
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