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

2013-10-24 Thread Eric Blake
On 10/23/2013 08:40 PM, Max Reitz wrote: > 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

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

2013-10-24 Thread Kevin Wolf
Am 23.10.2013 um 21:40 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 i

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

2013-10-23 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 (o