qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Cody <jcody@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@gmail.com,
	supriyak@linux.vnet.ibm.com
Subject: [Qemu-devel] [RFC PATCH 0/4] Live block commit
Date: Tue, 31 Jul 2012 01:16:09 -0400	[thread overview]
Message-ID: <cover.1343710713.git.jcody@redhat.com> (raw)

These are proposed changes, to add live block commit functionality.

I originally had intended for this RFC series to include the more
complicated case of a live commit of the active layer, but removed
it for this commit in the hopes of making it into the soft feature
freeze for 1.2, so this series is the simpler case.

This series adds the basic case, of a live commit between two
images below the active layer, e.g.:

[base] <--- [snp-1] <--- [snp-2] <--- [snp-3] <--- [active]

can be collapsed down via commit, into:

[base] <--- [active]

or,

[base] <--- [snp-1] <--- [active],

[base] <--- [snp-3] <--- [active],

etc..


qemu-io tests for the block commit will be adding onto the v1 patch
set.

These patches are on top of Supriya's reopen() series, and Paolo's
block mirror series (the RFC series).  I have not rebased yet to the
newer patches put out by Supriya and Paolo - this was tested w/o the
reopen, by manually making sure the images stayed in a r/w state.


Jeff Cody (4):
  block: add support functions for live commit, to find and delete
    images.
  block: add live block commit functionality
  qerror: new errors for live block commit, QERR_TOP_NOT_FOUND
  QAPI: add command for live block commit, 'block-commit'

 block.c             |  136 ++++++++++++++++++++++++++++++++++-
 block.h             |    4 ++
 block/Makefile.objs |    2 +-
 block/commit.c      |  200 +++++++++++++++++++++++++++++++++++++++++++++++++++
 block_int.h         |   19 +++++
 blockdev.c          |   78 ++++++++++++++++++++
 qapi-schema.json    |   33 +++++++++
 qerror.c            |    4 ++
 qerror.h            |    3 +
 qmp-commands.hx     |    6 ++
 trace-events        |    2 +
 11 files changed, 485 insertions(+), 2 deletions(-)
 create mode 100644 block/commit.c

-- 
1.7.10.4

             reply	other threads:[~2012-07-31  5:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31  5:16 Jeff Cody [this message]
2012-07-31  5:16 ` [Qemu-devel] [RFC PATCH 1/4] block: add support functions for live commit, to find and delete images Jeff Cody
2012-07-31 17:34   ` Eric Blake
2012-07-31 17:52     ` Jeff Cody
2012-07-31  5:16 ` [Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality Jeff Cody
2012-07-31 17:51   ` Eric Blake
2012-07-31 17:55     ` Jeff Cody
2012-08-01  6:32       ` Kevin Wolf
2012-08-01  7:07         ` Paolo Bonzini
2012-08-01 11:23           ` Jeff Cody
2012-07-31  5:16 ` [Qemu-devel] [RFC PATCH 3/4] qerror: new errors for live block commit, QERR_TOP_NOT_FOUND Jeff Cody
2012-07-31 18:35   ` Eric Blake
2012-07-31  5:16 ` [Qemu-devel] [RFC PATCH 4/4] QAPI: add command for live block commit, 'block-commit' Jeff Cody
2012-07-31 18:38   ` Eric Blake
2012-08-14  7:41 ` [Qemu-devel] [RFC PATCH 0/4] Live block commit Tiziano Müller
2012-08-29 13:40   ` Jeff Cody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1343710713.git.jcody@redhat.com \
    --to=jcody@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=supriyak@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).