[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format
From: |
Kaveh Razavi |
Subject: |
Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format |
Date: |
Wed, 14 Aug 2013 15:37:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 |
On 08/14/2013 01:57 PM, Alex Bligh wrote:
> I don't agree. The penalty for a qcow2 suffering a false positive on
> a change to a backing file is that the VM can no longer boot. The
> penalty for your cache suffering a false positive is that the
> VM boots marginally slower. Moreover, it is expected behaviour that
> you CAN change a backing file if there are no r/w images based on
> it. Your cache changes that assumption.
That is right. So when there is a change in the backing file, either the
cache should be invalidated or the changes should be propagated to the
cache image. If changes to the backing image are not frequent, then
invalidation is the simpler approach. In any case, there should be a
mechanism to detect this. I assume it is also undesirable for a VM to
see stale data when booting from a cow image twice.
Kaveh
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, (continued)
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Eric Blake, 2013/08/13
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/13
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Kaveh Razavi, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Fam Zheng, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Richard W.M. Jones, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Fam Zheng, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/15
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format,
Kaveh Razavi <=
Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/13
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Kaveh Razavi, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Kaveh Razavi, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Kaveh Razavi, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Alex Bligh, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Kevin Wolf, 2013/08/14
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Wenchao Xia, 2013/08/15
- Re: [Qemu-devel] [PATCH] Introduce cache images for the QCOW2 format, Stefan Hajnoczi, 2013/08/15