[PULL v3 0/8] block-job patches 2025-04-29

Vladimir Sementsov-Ogievskiy posted 8 patches 9 months ago
Only 1 patches received!
block/backup.c                                  |   3 +-
block/commit.c                                  | 118 +++++++++++++++++-------
block/copy-before-write.c                       |   2 +
block/copy-before-write.h                       |   1 +
block/replication.c                             |   4 +-
blockdev.c                                      |   6 ++
docs/about/deprecated.rst                       |  31 +++++++
include/block/block_int-global-state.h          |   2 +
qapi/block-core.json                            |  95 ++++++++++++++-----
qapi/job.json                                   |  30 +++++-
tests/qemu-iotests/tests/commit-zero-blocks     |  96 +++++++++++++++++++
tests/qemu-iotests/tests/commit-zero-blocks.out |  54 +++++++++++
tests/qemu-iotests/tests/copy-before-write      |  95 +++++++++++++++++++
tests/qemu-iotests/tests/copy-before-write.out  |   4 +-
14 files changed, 476 insertions(+), 65 deletions(-)
create mode 100755 tests/qemu-iotests/tests/commit-zero-blocks
create mode 100644 tests/qemu-iotests/tests/commit-zero-blocks.out
[PULL v3 0/8] block-job patches 2025-04-29
Posted by Vladimir Sementsov-Ogievskiy 9 months ago
The following changes since commit 73d29ea2417b58ca55fba1aa468ba38e3607b583:

  Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging (2025-04-27 12:47:23 -0400)

are available in the Git repository at:

  https://gitlab.com/vsementsov/qemu.git tags/pull-block-jobs-2025-04-29-v3

for you to fetch changes up to 3d3911f16b6ceb9ed202aadf2cd75ded516a1a0b:

  blockdev-backup: Add error handling option for copy-before-write jobs (2025-05-12 18:19:31 +0300)

----------------------------------------------------------------
block-job patches

- deprecate some old block-job- APIs
- on-cbw-error option for backup
- more efficient zero handling in block commit

v3:
[08]: fix long lines

v2:
[03]: move variable declaration to function top, to silence clang and to
      follow QEMU coding style

----------------------------------------------------------------
Raman Dzehtsiar (1):
      blockdev-backup: Add error handling option for copy-before-write jobs

Vincent Vanlaer (5):
      block: get type of block allocation in commit_run
      block: move commit_run loop to separate function
      block: refactor error handling of commit_iteration
      block: allow commit to unmap zero blocks
      block: add test non-active commit with zeroed data

Vladimir Sementsov-Ogievskiy (2):
      qapi: synchronize jobs and block-jobs documentation
      qapi/block-core: deprecate some block-job- APIs

 block/backup.c                                  |   3 +-
 block/commit.c                                  | 118 +++++++++++++++++-------
 block/copy-before-write.c                       |   2 +
 block/copy-before-write.h                       |   1 +
 block/replication.c                             |   4 +-
 blockdev.c                                      |   6 ++
 docs/about/deprecated.rst                       |  31 +++++++
 include/block/block_int-global-state.h          |   2 +
 qapi/block-core.json                            |  95 ++++++++++++++-----
 qapi/job.json                                   |  30 +++++-
 tests/qemu-iotests/tests/commit-zero-blocks     |  96 +++++++++++++++++++
 tests/qemu-iotests/tests/commit-zero-blocks.out |  54 +++++++++++
 tests/qemu-iotests/tests/copy-before-write      |  95 +++++++++++++++++++
 tests/qemu-iotests/tests/copy-before-write.out  |   4 +-
 14 files changed, 476 insertions(+), 65 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/commit-zero-blocks
 create mode 100644 tests/qemu-iotests/tests/commit-zero-blocks.out

-- 
2.48.1
Re: [PULL v3 0/8] block-job patches 2025-04-29
Posted by Stefan Hajnoczi 9 months ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.