qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v15 18/21] block: Reuse bs as backing hd for dri


From: Kevin Wolf
Subject: Re: [Qemu-block] [PATCH v15 18/21] block: Reuse bs as backing hd for drive-backup sync=none
Date: Wed, 26 Apr 2017 14:52:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 26.04.2017 um 05:34 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng <address@hidden>

The commit message is a bit terse. :-)

So I think this means that instead of opening the backing file of the
backup (which is probably the active file of the VM) a second time, we
instead take a reference on the existing node. Very good idea.

In fact, my question is: How did this ever work? Did we just neglect to
test this? The backup backing file will use stale qcow2 metadata when we
continue to write to the source.

Unless I'm missing something, I'd propose this for qemu-stable.

Also, mirror with MIRROR_OPEN_BACKING_CHAIN probably has a similar
problem with opening the images in the backing chain a second time.

Kevin



reply via email to

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