All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/7] block: allow commit active as top
@ 2013-09-30 12:02 Fam Zheng
  2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 1/7] block: add bdrv_common_ancestor() Fam Zheng
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Fam Zheng @ 2013-09-30 12:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, pbonzini, jcody, famz, stefanha

Previously live commit of active block device is not supported, this series
implements it and updates corresponding qemu-iotests cases.

v4: Rewrite to reuse block/mirror.c.
    When committing the active layer, the job is internally a mirror job with
    type name faked to "commit".
    When the job completes, the BDSes are swapped, so the base image become
    active and [top, base) dropped.

Fam Zheng (7):
  block: add bdrv_common_ancestor()
  qmp: add internal sync mode "common" to mirror_start
  mirror: don't close target
  mirror: Add commit_job_type to perform commit with mirror code
  commit: support commit active layer
  commit: remove unused check
  qemu-iotests: update test cases for commit active

 block.c                    | 15 ++++++++++
 block/commit.c             |  7 -----
 block/mirror.c             | 29 +++++++++++++++---
 blockdev.c                 | 49 +++++++++++++++++++++++++++++--
 include/block/block.h      |  2 ++
 include/block/block_int.h  |  2 ++
 qapi-schema.json           |  2 +-
 tests/qemu-iotests/040     | 73 ++++++++++++++++++++--------------------------
 tests/qemu-iotests/041     |  5 ++++
 tests/qemu-iotests/041.out |  4 +--
 10 files changed, 129 insertions(+), 59 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-10-08  9:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 12:02 [Qemu-devel] [PATCH v4 0/7] block: allow commit active as top Fam Zheng
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 1/7] block: add bdrv_common_ancestor() Fam Zheng
2013-09-30 21:40   ` Eric Blake
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 2/7] qmp: add internal sync mode "common" to mirror_start Fam Zheng
2013-09-30 14:49   ` Eric Blake
2013-10-08  8:08     ` Fam Zheng
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 3/7] mirror: don't close target Fam Zheng
2013-10-01 17:11   ` Eric Blake
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 4/7] mirror: Add commit_job_type to perform commit with mirror code Fam Zheng
2013-10-01 17:13   ` Eric Blake
2013-10-08  8:37     ` Fam Zheng
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 5/7] commit: support commit active layer Fam Zheng
2013-09-30 12:16   ` Paolo Bonzini
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 6/7] commit: remove unused check Fam Zheng
2013-09-30 12:17   ` Paolo Bonzini
2013-10-08  9:32     ` Fam Zheng
2013-09-30 12:02 ` [Qemu-devel] [PATCH v4 7/7] qemu-iotests: update test cases for commit active Fam Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.