qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] block: Split BLOCK_OP_TYPE_COMMIT to BLOCK_OP_T


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] block: Split BLOCK_OP_TYPE_COMMIT to BLOCK_OP_TYPE_COMMIT_{SOURCE, TARGET}
Date: Wed, 7 Jan 2015 14:13:38 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Sep 11, 2014 at 01:14:00PM +0800, Fam Zheng wrote:
> Like BLOCK_OP_TYPE_BACKUP_SOURCE and BLOCK_OP_TYPE_BACKUP_TARGET,
> block-commit involves two asymmetric devices.
> 
> This change is not user-visible (yet), because commit only works with
> device names.
> 
> But once we enable backing reference in blockdev-add, or specifying
> node-name in block-commit command, we don't want the user to start two
> commit jobs on the same backing chain, which will corrupt things because
> of the final bdrv_swap.
> 
> Before we have per category blockers, splitting this type is still
> better.
> 
> Signed-off-by: Fam Zheng <address@hidden>
> ---
>  block.c               | 6 +++---
>  blockdev.c            | 6 +++++-
>  include/block/block.h | 3 ++-
>  3 files changed, 10 insertions(+), 5 deletions(-)

Sorry for missing this patch, it was not on my radar since it has no
Reveiwed-by.

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Attachment: pgpLAbdnNkRK5.pgp
Description: PGP signature


reply via email to

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