[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] commit: Expose on-error option in QMP
From: |
Kevin Wolf |
Subject: |
[PATCH 0/7] commit: Expose on-error option in QMP |
Date: |
Fri, 14 Feb 2020 21:08:05 +0100 |
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(-)
--
2.20.1
- [PATCH 0/7] commit: Expose on-error option in QMP,
Kevin Wolf <=
- [PATCH 1/7] qapi: Document meaning of 'ignore' BlockdevOnError for jobs, Kevin Wolf, 2020/02/14
- [PATCH 2/7] commit: Remove unused bytes_written, Kevin Wolf, 2020/02/14
- [PATCH 3/7] commit: Fix argument order for block_job_error_action(), Kevin Wolf, 2020/02/14
- [PATCH 4/7] commit: Inline commit_populate(), Kevin Wolf, 2020/02/14
- [PATCH 5/7] commit: Fix is_read for block_job_error_action(), Kevin Wolf, 2020/02/14