bdrv_open() cleanups, part 1
Status from this message: Applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 10 repliesApplied
- v19 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- Rebased on current git master
- Patch 1: Removed redundant if condition [Benoît] Replaced redundant error check with assertion [Eric]
- Patch 2: Fixed leak in error path [Benoît]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | block: Create bdrv_fill_options()block.c | +69 | 1 reply | |
| 2/9 | block: Move bdrv_fill_options() call to bdrv_open()block.c | +15 | 1 reply | |
| 3/9 | block: Move json: parsing to bdrv_fill_options()block.c | +45 | 0 replies | |
| 4/9 | block: Always pass driver name through options QDictblock.c tests/ tests/ | +45 | 0 replies | |
| 5/9 | block: Use common driver selection code for bdrv_open_file()block.c | +30 | 0 replies | |
| 6/9 | block: Inline bdrv_file_open()block.c | +11 | 1 reply | |
| 7/9 | block: Remove second bdrv_open() recursionblock.c | +25 | 1 reply | |
| 8/9 | block: Catch backing files assigned to non-COW driversblock.c block/ block/ +6 more | +29 | 1 reply | |
| 9/9 | block: Remove a special case for protocolsblock.c | +2 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | Benoit Canet |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | R-b |
| 6/9 | R-b | R-b |
| 7/9 | R-b | |
| 8/9 | R-b | |
| 9/9 | 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/9] bdrv_open() cleanups, part 1
This is the first part of an attempt for disentangling bdrv_open(). At the end of this series, bdrv_open() code is somewhat easier to read, but the real changes (including some bug fixes and changes of behaviour) haven't happened yet.
Just sending out the first part now to get this merged early and avoid conflicts.
v2:
- Rebased on current git master
- Patch 1: Removed redundant if condition [Benoît] Replaced redundant error check with assertion [Eric]
- Patch 2: Fixed leak in error path [Benoît]
Kevin Wolf (9):
block: Create bdrv_fill_options()
block: Move bdrv_fill_options() call to bdrv_open()
block: Move json: parsing to bdrv_fill_options()
block: Always pass driver name through options QDict
block: Use common driver selection code for bdrv_open_file()
block: Inline bdrv_file_open()
block: Remove second bdrv_open() recursion
block: Catch backing files assigned to non-COW drivers
block: Remove a special case for protocols
block.c | 280 ++++++++++++++++++++++----------------------- block/cow.c | 1 + block/qcow.c | 1 + block/qcow2.c | 1 + block/qed.c | 1 + block/vmdk.c | 1 + include/block/block_int.h | 3 + tests/qemu-iotests/051 | 6 + tests/qemu-iotests/051.out | 14 ++- 9 files changed, 164 insertions(+), 144 deletions(-)
Signature · 1 line
1.8.3.1