qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V3 0/3] Quorum maintainance operations
@ 2014-03-14 15:18 Benoît Canet
  2014-03-14 15:18 ` [Qemu-devel] [PATCH V3 1/3] quorum: Add the rewrite-corrupted parameter to quorum Benoît Canet
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Benoît Canet @ 2014-03-14 15:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, Benoît Canet, stefanha, mreitz

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

in V3:

patch 2:
    remove buggy assert [Max]
    clarify qapi-schema.json comment [Max]

patch 3:
    use sync=full [Max]
    use iotest.notrun() [Max]

in V2:

Made all change suggested by Max

patch 1
    s/callback/callbacks/
    s/concurency/concurrency/
    s/;;/;/g
    s/actived/enabled/
    Changed test order
    Add Max reviewed by

patch 2
    s/file/SAN or NAS/g
    add assert in bdrv_assign_node_name
    The code must a target with the new mirror
    as this could result in
    s/check target/check that the target/
    Get the block driver state to be replaced
    s/to replace/to be replaced/
    s/are/is/
    s/usefull/useful/g
    avoid leaking s->new_node_name
    s/switch/switches/
    s/replace/replaces/

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                       |   8 +-
 block/mirror.c                | 116 +++++++++++++++++++++-
 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        |  15 ++-
 tests/qemu-iotests/081.out    |  10 ++
 tests/qemu-iotests/088        | 219 ++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/088.out    |   5 +
 tests/qemu-iotests/group      |   1 +
 tests/qemu-iotests/iotests.py |  33 +++++++
 trace-events                  |   1 +
 16 files changed, 580 insertions(+), 47 deletions(-)
 create mode 100755 tests/qemu-iotests/088
 create mode 100644 tests/qemu-iotests/088.out

-- 
1.8.3.2

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

end of thread, other threads:[~2014-05-09 21:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 15:18 [Qemu-devel] [PATCH V3 0/3] Quorum maintainance operations Benoît Canet
2014-03-14 15:18 ` [Qemu-devel] [PATCH V3 1/3] quorum: Add the rewrite-corrupted parameter to quorum Benoît Canet
2014-03-14 15:18 ` [Qemu-devel] [PATCH V3 2/3] block: Add drive-mirror-replace command to repair quorum files Benoît Canet
2014-03-15 19:54   ` Max Reitz
2014-03-14 15:18 ` [Qemu-devel] [PATCH V3 3/3] qemu-iotests: Add 088 new test for drive-mirror-replace Benoît Canet
2014-03-15 19:58   ` Max Reitz
2014-05-09 21:12 ` [Qemu-devel] [PATCH V3 0/3] Quorum maintainance operations Benoît Canet

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).