Re: [Qemu-devel] [PATCH] block: Flush image after open

2011-03-21 Thread Avi Kivity
On 03/21/2011 03:02 PM, Kevin Wolf wrote: Am 21.03.2011 13:23, schrieb Avi Kivity: > On 03/09/2011 07:38 PM, Anthony Liguori wrote: >> On 03/09/2011 11:27 AM, Christoph Hellwig wrote: >>> On Wed, Mar 09, 2011 at 05:15:53PM +0100, Kevin Wolf wrote: Quoting the bug report:

Re: [Qemu-devel] [PATCH] block: Flush image after open

2011-03-21 Thread Kevin Wolf
Am 21.03.2011 13:23, schrieb Avi Kivity: > On 03/09/2011 07:38 PM, Anthony Liguori wrote: >> On 03/09/2011 11:27 AM, Christoph Hellwig wrote: >>> On Wed, Mar 09, 2011 at 05:15:53PM +0100, Kevin Wolf wrote: Quoting the bug report: qemu ensures that guest writes and qemu metadata

Re: [Qemu-devel] [PATCH] block: Flush image after open

2011-03-21 Thread Avi Kivity
On 03/09/2011 07:38 PM, Anthony Liguori wrote: On 03/09/2011 11:27 AM, Christoph Hellwig wrote: On Wed, Mar 09, 2011 at 05:15:53PM +0100, Kevin Wolf wrote: Quoting the bug report: qemu ensures that guest writes and qemu metadata writes hit the disk when necessary to prevent data cor

Re: [Qemu-devel] [PATCH] block: Flush image after open

2011-03-09 Thread Anthony Liguori
On 03/09/2011 11:27 AM, Christoph Hellwig wrote: On Wed, Mar 09, 2011 at 05:15:53PM +0100, Kevin Wolf wrote: Quoting the bug report: qemu ensures that guest writes and qemu metadata writes hit the disk when necessary to prevent data corruption. However, if an image was in host pa

Re: [Qemu-devel] [PATCH] block: Flush image after open

2011-03-09 Thread Christoph Hellwig
On Wed, Mar 09, 2011 at 05:15:53PM +0100, Kevin Wolf wrote: > Quoting the bug report: > > qemu ensures that guest writes and qemu metadata writes hit the disk > when necessary to prevent data corruption. However, if an image was > in host pagecache prior to starting qemu, for example a