qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format
Date: Wed, 14 Aug 2013 16:58:55 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Wed, Aug 14, 2013 at 01:03:48PM +0100, Alex Bligh wrote:
> 
> On 14 Aug 2013, at 12:52, Fam Zheng wrote:
> 
> > Yes, this one sounds good to have. VMDK and VHDX have this kind of
> > backing file status validation.
> 
> ... though I'd prefer something safer than looking at mtime, for
> instance a sequence number that is incremented prior to any
> bdrv_close if a write has been done since bdrv_open.

Yes, please not mtime.  User-mode Linux COW files use mtime to check
this, and it causes no end of problems (eg. if the backing file is
copied from one place to another without using the magic incantations
to preserve file times).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW



reply via email to

[Prev in Thread] Current Thread [Next in Thread]