qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V16 00/12] Quorum block filter
@ 2014-02-11 14:45 Benoît Canet
  2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 01/12] quorum: Create quorum.c, add QuorumChildRequest and QuorumAIOCB Benoît Canet
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Benoît Canet @ 2014-02-11 14:45 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, Benoît Canet, famz, jcody, armbru, mreitz, stefanha

I post this for review in prevision of 2.0 feature freeze.
Even if the series look correct please wait before merging because:
-I want to do further testing
-Using blockdev_add by reference leads to a crash on quorum's exit
                            (double free ?)

The QMP events definitively needs to be reviewed by Eric.

since v15:
fix unaligned comment [Benoît]
s/QuorumSingleAIOCB/QuorumChildRequest/ [Kevin]
s/total/num_children/ [Kevin]
Remove QuourmAIOCB finished field as bdrv_aio_cancel is now used [Benoît]
fix typedef struct [Kevin]
Document blkverify mode [Kevin]
s/callback/callbacks/ [Kevin]
free data structures on quorum_aio_cancel [Kevin]
drop bqs [Kevin]
replace acb->bqs usage by acb->common.bs->opaque [Kevin]
fix compilation error on patch 3 [Kevin]
better document qemu_iovec_compare [Kevin]
don't zero structure intended to be freed [Kevin]
Do simple if [Kevin]
merge for loops [Kevin]
s/bs->file/s->bs[i]/ [Kevin]
pass individual qiov to read one patch sooner [Kevin]
remove uneeded forward declaration [Kevin]
simplify compare function [Kevin]
initialize vote list at the right place [Kevin]
node_name should not be NULL assert it [Kevin]
s/i/max/g in get_vote_winner [Kevin]
document why quorum_iovec_compare exists [Kevin]
convert comment into assert [Kevin]
set quorum default to true [Kevin]
simplify quorum success condition after max addition quorum_vote test [Benoît]
remove uneeded test after vote [Kevin]
change comment on quorum failure searching [Benoît]
introduce reference in QUORUM_FAILURE [Kevin]
remove unneeded KEY_ defines  [Benoît]
Use QemuOptList to shorten code [Kevin]
remove uneeded includes [Benoît]
fill authorization table [Benoît]
extract quorum_has_too_much_io_failed [Benoît]
call this function when not reading [Benoît]
report error on io failure [Benoît]
     !! need Eric review
don't flush on exit [Kevin]

Benoît Canet (12):
  quorum: Create quorum.c, add QuorumChildRequest and QuorumAIOCB.
  quorum: Create BDRVQuorumState and BlkDriver and do init.
  quorum: Add quorum_aio_writev and its dependencies.
  blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from
    blkverify.
  quorum: Add quorum_aio_readv.
  quorum: Add quorum mechanism.
  quorum: Add quorum_getlength().
  quorum: Add quorum_invalidate_cache().
  quorum: Add quorum_co_flush().
  quorum: Implement recursive .bdrv_recurse_is_first_non_filter in
    quorum.
  quorum: Add quorum_open() and quorum_close().
  quorum: Add unit test.

 block/Makefile.objs        |   1 +
 block/blkverify.c          | 108 +-----
 block/quorum.c             | 863 +++++++++++++++++++++++++++++++++++++++++++++
 configure                  |  36 ++
 docs/qmp/qmp-events.txt    |  36 ++
 include/monitor/monitor.h  |   2 +
 include/qemu-common.h      |   2 +
 monitor.c                  |   4 +
 qapi-schema.json           |  21 +-
 tests/qemu-iotests/081     |  95 +++++
 tests/qemu-iotests/081.out |  34 ++
 tests/qemu-iotests/group   |   1 +
 util/iov.c                 | 106 ++++++
 13 files changed, 1202 insertions(+), 107 deletions(-)
 create mode 100644 block/quorum.c
 create mode 100755 tests/qemu-iotests/081
 create mode 100644 tests/qemu-iotests/081.out

-- 
1.8.3.2

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

end of thread, other threads:[~2014-02-11 14:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 14:45 [Qemu-devel] [PATCH V16 00/12] Quorum block filter Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 01/12] quorum: Create quorum.c, add QuorumChildRequest and QuorumAIOCB Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 02/12] quorum: Create BDRVQuorumState and BlkDriver and do init Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 03/12] quorum: Add quorum_aio_writev and its dependencies Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 04/12] blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from blkverify Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 05/12] quorum: Add quorum_aio_readv Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 06/12] quorum: Add quorum mechanism Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 07/12] quorum: Add quorum_getlength() Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 08/12] quorum: Add quorum_invalidate_cache() Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 09/12] quorum: Add quorum_co_flush() Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 10/12] quorum: Implement recursive .bdrv_recurse_is_first_non_filter in quorum Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 11/12] quorum: Add quorum_open() and quorum_close() Benoît Canet
2014-02-11 14:45 ` [Qemu-devel] [PATCH V16 12/12] quorum: Add unit test 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).