qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Benoît Canet" <benoit.canet@irqsave.net>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, "Benoît Canet" <benoit.canet@irqsave.net>,
	stefanha@redhat.com, mreitz@redhat.com
Subject: [Qemu-devel] [PATCH 0/3] Quorum maintainance operations
Date: Tue, 11 Mar 2014 17:36:17 +0100	[thread overview]
Message-ID: <1394555780-27665-1-git-send-email-benoit.canet@irqsave.net> (raw)

Hello,

This series for 2.1 add the missing maintainance feature for Quorum.

The first patch allows quorum to correct corrupted reads by rewriting them.

The second add the drive-mirror-replace command to be used on a drive-mirrored
device to replace a target bs by the mirror.

The series apply on top of Fam's NBD image feecing patches.

Best regards

Benoît

Benoît Canet (3):
  quorum: Add the rewrite-corrupted parameter to quorum.
  block: Add drive-mirror-replace command to repair quorum files.
  qemu-iotests: Add 088 new test for drive-mirror-replace.

 block.c                       |   6 +-
 block/mirror.c                | 115 +++++++++++++++++++++-
 block/quorum.c                |  97 ++++++++++++++++--
 blockdev.c                    |  27 ++++++
 include/block/block.h         |   3 +
 include/block/block_int.h     |  15 +++
 qapi-schema.json              |  38 +++++++-
 qmp-commands.hx               |   5 +
 tests/qemu-iotests/041        |  34 +------
 tests/qemu-iotests/081        |  14 +++
 tests/qemu-iotests/081.out    |  11 ++-
 tests/qemu-iotests/088        | 221 ++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/088.out    |   5 +
 tests/qemu-iotests/group      |   1 +
 tests/qemu-iotests/iotests.py |  33 +++++++
 trace-events                  |   1 +
 16 files changed, 579 insertions(+), 47 deletions(-)
 create mode 100755 tests/qemu-iotests/088
 create mode 100644 tests/qemu-iotests/088.out

-- 
1.8.3.2

             reply	other threads:[~2014-03-11 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 16:36 Benoît Canet [this message]
2014-03-11 16:36 ` [Qemu-devel] [PATCH 1/3] quorum: Add the rewrite-corrupted parameter to quorum Benoît Canet
2014-03-11 19:58   ` Max Reitz
2014-03-11 20:14     ` Benoît Canet
2014-03-11 16:36 ` [Qemu-devel] [PATCH 2/3] block: Add drive-mirror-replace command to repair quorum files Benoît Canet
2014-03-11 21:00   ` Max Reitz
2014-03-11 21:17     ` Benoît Canet
2014-03-13 19:12       ` Max Reitz
2014-03-11 16:36 ` [Qemu-devel] [PATCH 3/3] qemu-iotests: Add 088 new test for drive-mirror-replace Benoît Canet

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=1394555780-27665-1-git-send-email-benoit.canet@irqsave.net \
    --to=benoit.canet@irqsave.net \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.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).