Re: [Qemu-devel] [PATCH v2] qcow2: Flush image after creation

2013-10-28 Thread Benoît Canet
Le Thursday 24 Oct 2013 à 20:35:06 (+0200), Max Reitz a écrit : Opening the qcow2 image with BDRV_O_NO_FLUSH prevents any flushes during the image creation. This means that the image has not yet been flushed to disk when qemu-img create exits. This flush is delayed until the next operation on

Re: [Qemu-devel] [PATCH v2] qcow2: Flush image after creation

2013-10-25 Thread Kevin Wolf
Am 24.10.2013 um 20:35 hat Max Reitz geschrieben: Opening the qcow2 image with BDRV_O_NO_FLUSH prevents any flushes during the image creation. This means that the image has not yet been flushed to disk when qemu-img create exits. This flush is delayed until the next operation on the image

[Qemu-devel] [PATCH v2] qcow2: Flush image after creation

2013-10-24 Thread Max Reitz
Opening the qcow2 image with BDRV_O_NO_FLUSH prevents any flushes during the image creation. This means that the image has not yet been flushed to disk when qemu-img create exits. This flush is delayed until the next operation on the image involving opening it without BDRV_O_NO_FLUSH and closing