commit: Expose on-error option in QMP
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | qapi: Document meaning of 'ignore' BlockdevOnError for jobsqapi/ | +4 | 2 replies | |
| 2/7 | commit: Remove unused bytes_writtenblock/ | +0 | 1 reply | |
| 3/7 | commit: Fix argument order for block_job_error_action()block/ | +1 | 1 reply | |
| 4/7 | commit: Inline commit_populate()block/ | +6 | 1 reply | |
| 5/7 | commit: Fix is_read for block_job_error_action()block/ | +6 | 1 reply | |
| 6/7 | commit: Expose on-error option in QMPblockdev.c qapi/ | +8 | 1 reply | |
| 7/7 | iotests: Test error handling policies with block-committests/ tests/ | +285 | 0 replies |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Ján Tomko |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] commit: Expose on-error option in QMP
All other block jobs already provide a QMP option to control the error handling policy. It's time to add it to commit, too.
Peter, I guess libvirt wants to expose this?
Nir, as you would probably assume, this is motivated by the recent finding that VDSM has to preallocate the theoretical maximum for commit operations because QEMU doesn't provide a way to reliably resize the base image dynamically. If you ever want to improve that code, this will enable you to do so from the QEMU side.
Kevin Wolf (7):
qapi: Document meaning of 'ignore' BlockdevOnError for jobs
commit: Remove unused bytes_written
commit: Fix argument order for block_job_error_action()
commit: Inline commit_populate()
commit: Fix is_read for block_job_error_action()
commit: Expose on-error option in QMP
iotests: Test error handling policies with block-commit
qapi/block-core.json | 9 +- block/commit.c | 37 ++--- blockdev.c | 8 +- tests/qemu-iotests/040 | 283 +++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/040.out | 4 +- 5 files changed, 309 insertions(+), 32 deletions(-)
Signature · 1 line
2.20.1