[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] Quorum maintainance operations
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH 0/3] Quorum maintainance operations |
Date: |
Tue, 11 Mar 2014 17:36:17 +0100 |
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