quorum: Simplify quorum_open()
Status from this message: Thanks, applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Patch 1: Adapted comment about how num_children is determined [Benoît]
- Patch 2: Fixing the monitor output of quorum (v19) requires fixing of the test output as well; however, filtering the sector-num is no longer required
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | quorum: Simplify quorum_open()block/ | +39 | 0 replies | |
| 2/2 | iotests: Mixed quorum child device specificationstests/ tests/ | +66 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Benoit Canet |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/2] quorum: Simplify quorum_open()
This series employs the new ability of qdict_array_split() to not only split a QDict into a QList of QDicts (and a remainder QDict), but into a QList of QObjects of any kind, to simplify quorum_open(). This (in my opinion) enhances readability, robustness against malformatted options and allows specifying both reference strings and full option dicts at the same time.
This series depends on v19 of Benoît's Quorum series and on my "Extract non-QDicts in qdict_array_split()" series.
v2:
- Patch 1: Adapted comment about how num_children is determined [Benoît]
- Patch 2: Fixing the monitor output of quorum (v19) requires fixing of the test output as well; however, filtering the sector-num is no longer required
Max Reitz (2):
quorum: Simplify quorum_open()
iotests: Mixed quorum child device specifications
block/quorum.c | 66 +++++++++++++++++++++++++++------------------- tests/qemu-iotests/081 | 51 +++++++++++++++++++++++++++++++++++ tests/qemu-iotests/081.out | 15 +++++++++++ 3 files changed, 105 insertions(+), 27 deletions(-)
Signature · 1 line
1.9.0