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

Vladimir Sementsov-Ogievskiy posted 8 patches 6 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250429113335.423535-1-vsementsov@yandex-team.ru
Maintainers: John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Wen Congyang <wencongyang2@huawei.com>, Xie Changlong <xiechanglong.d@gmail.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
block/backup.c                                  |   3 +-
block/commit.c                                  | 117 +++++++++++++++++-------
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      |  90 ++++++++++++++++++
tests/qemu-iotests/tests/copy-before-write.out  |   4 +-
14 files changed, 470 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 0/8] block-job patches 2025-04-29
Posted by Vladimir Sementsov-Ogievskiy 6 months, 2 weeks 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

for you to fetch changes up to 300ef7b9d16067f3d8d85f5c36006c6d9637e07f:

  blockdev-backup: Add error handling option for copy-before-write jobs (2025-04-29 12:55:28 +0300)

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

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

----------------------------------------------------------------
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                                  | 117 +++++++++++++++++-------
 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      |  90 ++++++++++++++++++
 tests/qemu-iotests/tests/copy-before-write.out  |   4 +-
 14 files changed, 470 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 0/8] block-job patches 2025-04-29
Posted by Vladimir Sementsov-Ogievskiy 6 months, 2 weeks ago
Oops, accidentally extra old patches were sent, sorry for the noice. Please ignore patches */5, they are already in master.

The cover-letter message and the tag pull-block-jobs-2025-04-29 are correct.

On 29.04.25 14:33, Vladimir Sementsov-Ogievskiy wrote:
> 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
> 
> for you to fetch changes up to 300ef7b9d16067f3d8d85f5c36006c6d9637e07f:
> 
>    blockdev-backup: Add error handling option for copy-before-write jobs (2025-04-29 12:55:28 +0300)
> 
> ----------------------------------------------------------------
> block-job patches
> 
> - deprecate some old block-job- APIs
> - on-cbw-error option for backup
> - more efficient zero handling in block commit
> 
> ----------------------------------------------------------------
> 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                                  | 117 +++++++++++++++++-------
>   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      |  90 ++++++++++++++++++
>   tests/qemu-iotests/tests/copy-before-write.out  |   4 +-
>   14 files changed, 470 insertions(+), 65 deletions(-)
>   create mode 100755 tests/qemu-iotests/tests/commit-zero-blocks
>   create mode 100644 tests/qemu-iotests/tests/commit-zero-blocks.out
> 

-- 
Best regards,
Vladimir
Re: [PULL 0/8] block-job patches 2025-04-29
Posted by Stefan Hajnoczi 6 months, 2 weeks ago
Please take a look at the following CI failure and send a new revision
of the pull request once it passes:
https://gitlab.com/qemu-project/qemu/-/jobs/9884338000#L3671

Thanks!

Stefan