[PULL 00/36] Block patches

Max Reitz posted 36 patches 1 week ago
Test asan passed
Test checkpatch passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191010114300.7746-1-mreitz@redhat.com
Maintainers: Markus Armbruster <armbru@redhat.com>, Fam Zheng <fam@euphon.net>, Wen Congyang <wencongyang2@huawei.com>, John Snow <jsnow@redhat.com>, Xie Changlong <xiechanglong.d@gmail.com>, Max Reitz <mreitz@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Eric Blake <eblake@redhat.com>
block/Makefile.objs                |   4 +
qapi/block-core.json               |  89 +++-
block/backup-top.h                 |  41 ++
block/qcow2.h                      |   3 +
include/block/accounting.h         |   2 +
include/block/aio_task.h           |  54 +++
include/block/block-copy.h         |  93 ++++
include/block/block.h              |   1 +
include/block/block_int.h          |   2 +
block.c                            |  43 +-
block/accounting.c                 |   6 +
block/aio_task.c                   | 124 +++++
block/backup-top.c                 | 276 +++++++++++
block/backup.c                     | 443 ++++--------------
block/block-copy.c                 | 345 ++++++++++++++
block/file-posix.c                 |  54 ++-
block/nbd.c                        |  15 +
block/qapi.c                       |  11 +
block/qcow2.c                      | 466 ++++++++++++-------
block/replication.c                |   2 +-
blockdev.c                         |   1 +
hw/ide/core.c                      |  12 +
hw/scsi/scsi-disk.c                |  34 +-
block/trace-events                 |  15 +-
tests/qemu-iotests/026             |   6 +-
tests/qemu-iotests/026.out         |  80 +---
tests/qemu-iotests/026.out.nocache |  80 +---
tests/qemu-iotests/056             |   8 +-
tests/qemu-iotests/124             |  83 ++--
tests/qemu-iotests/125             |  45 +-
tests/qemu-iotests/141.out         |   2 +-
tests/qemu-iotests/149             |   2 +-
tests/qemu-iotests/149.out         |  44 +-
tests/qemu-iotests/162             |   2 +-
tests/qemu-iotests/162.out         |   2 +-
tests/qemu-iotests/227.out         |  18 +
tests/qemu-iotests/257             |  91 ++--
tests/qemu-iotests/257.out         | 714 ++++++++++++-----------------
tests/qemu-iotests/common.rc       |  17 +
tests/qemu-iotests/iotests.py      |  27 ++
40 files changed, 2108 insertions(+), 1249 deletions(-)
create mode 100644 block/backup-top.h
create mode 100644 include/block/aio_task.h
create mode 100644 include/block/block-copy.h
create mode 100644 block/aio_task.c
create mode 100644 block/backup-top.c
create mode 100644 block/block-copy.c

[PULL 00/36] Block patches

Posted by Max Reitz 1 week ago
The following changes since commit 98b2e3c9ab3abfe476a2b02f8f51813edb90e72d:

  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2019-10-08 16:08:35 +0100)

are available in the Git repository at:

  https://github.com/XanClic/qemu.git tags/pull-block-2019-10-10

for you to fetch changes up to 35f05b2e2ee59e077bf949057dc0959ddd6e5249:

  iotests/162: Fix for newer Linux 5.3+ (2019-10-10 12:13:23 +0200)

----------------------------------------------------------------
Block patches:
- Parallelized request handling for qcow2
- Backup job refactoring to use a filter node instead of before-write
  notifiers
- Add discard accounting information to file-posix nodes
- Allow trivial reopening of nbd nodes
- Some iotest fixes

----------------------------------------------------------------
Anton Nefedov (9):
  qapi: group BlockDeviceStats fields
  qapi: add unmap to BlockDeviceStats
  block: add empty account cookie type
  ide: account UNMAP (TRIM) operations
  scsi: store unmap offset and nb_sectors in request struct
  scsi: move unmap error checking to the complete callback
  scsi: account unmap operations
  file-posix: account discard operations
  qapi: query-blockstat: add driver specific file-posix stats

Daniel P. Berrangé (1):
  tests: fix I/O test for hosts defaulting to LUKSv2

Max Reitz (4):
  iotests: Fix 125 for growth_mode = metadata
  iotests: Disable 125 on broken XFS versions
  iotests: Use stat -c %b in 125
  iotests/162: Fix for newer Linux 5.3+

Maxim Levitsky (1):
  nbd: add empty .bdrv_reopen_prepare

Vladimir Sementsov-Ogievskiy (21):
  qemu-iotests: ignore leaks on failure paths in 026
  block: introduce aio task pool
  block/qcow2: refactor qcow2_co_preadv_part
  block/qcow2: refactor qcow2_co_pwritev_part
  block/qcow2: introduce parallel subrequest handling in read and write
  block/backup: fix max_transfer handling for copy_range
  block/backup: fix backup_cow_with_offload for last cluster
  block/backup: split shareable copying part from backup_do_cow
  block/backup: improve comment about image fleecing
  block/backup: introduce BlockCopyState
  block/backup: fix block-comment style
  block: move block_copy from block/backup.c to separate file
  block: teach bdrv_debug_breakpoint skip filters with backing
  iotests: prepare 124 and 257 bitmap querying for backup-top filter
  iotests: 257: drop unused Drive.device field
  iotests: 257: drop device_add
  block/backup: move in-flight requests handling from backup to
    block-copy
  block/backup: move write_flags calculation inside backup_job_create
  block/block-copy: split block_copy_set_callbacks function
  block: introduce backup-top filter driver
  block/backup: use backup-top instead of write notifiers

 block/Makefile.objs                |   4 +
 qapi/block-core.json               |  89 +++-
 block/backup-top.h                 |  41 ++
 block/qcow2.h                      |   3 +
 include/block/accounting.h         |   2 +
 include/block/aio_task.h           |  54 +++
 include/block/block-copy.h         |  93 ++++
 include/block/block.h              |   1 +
 include/block/block_int.h          |   2 +
 block.c                            |  43 +-
 block/accounting.c                 |   6 +
 block/aio_task.c                   | 124 +++++
 block/backup-top.c                 | 276 +++++++++++
 block/backup.c                     | 443 ++++--------------
 block/block-copy.c                 | 345 ++++++++++++++
 block/file-posix.c                 |  54 ++-
 block/nbd.c                        |  15 +
 block/qapi.c                       |  11 +
 block/qcow2.c                      | 466 ++++++++++++-------
 block/replication.c                |   2 +-
 blockdev.c                         |   1 +
 hw/ide/core.c                      |  12 +
 hw/scsi/scsi-disk.c                |  34 +-
 block/trace-events                 |  15 +-
 tests/qemu-iotests/026             |   6 +-
 tests/qemu-iotests/026.out         |  80 +---
 tests/qemu-iotests/026.out.nocache |  80 +---
 tests/qemu-iotests/056             |   8 +-
 tests/qemu-iotests/124             |  83 ++--
 tests/qemu-iotests/125             |  45 +-
 tests/qemu-iotests/141.out         |   2 +-
 tests/qemu-iotests/149             |   2 +-
 tests/qemu-iotests/149.out         |  44 +-
 tests/qemu-iotests/162             |   2 +-
 tests/qemu-iotests/162.out         |   2 +-
 tests/qemu-iotests/227.out         |  18 +
 tests/qemu-iotests/257             |  91 ++--
 tests/qemu-iotests/257.out         | 714 ++++++++++++-----------------
 tests/qemu-iotests/common.rc       |  17 +
 tests/qemu-iotests/iotests.py      |  27 ++
 40 files changed, 2108 insertions(+), 1249 deletions(-)
 create mode 100644 block/backup-top.h
 create mode 100644 include/block/aio_task.h
 create mode 100644 include/block/block-copy.h
 create mode 100644 block/aio_task.c
 create mode 100644 block/backup-top.c
 create mode 100644 block/block-copy.c

-- 
2.21.0


Re: [PULL 00/36] Block patches

Posted by Peter Maydell 1 week ago
On Thu, 10 Oct 2019 at 12:43, Max Reitz <mreitz@redhat.com> wrote:
>
> The following changes since commit 98b2e3c9ab3abfe476a2b02f8f51813edb90e72d:
>
>   Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2019-10-08 16:08:35 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/XanClic/qemu.git tags/pull-block-2019-10-10
>
> for you to fetch changes up to 35f05b2e2ee59e077bf949057dc0959ddd6e5249:
>
>   iotests/162: Fix for newer Linux 5.3+ (2019-10-10 12:13:23 +0200)
>
> ----------------------------------------------------------------
> Block patches:
> - Parallelized request handling for qcow2
> - Backup job refactoring to use a filter node instead of before-write
>   notifiers
> - Add discard accounting information to file-posix nodes
> - Allow trivial reopening of nbd nodes
> - Some iotest fixes
>

Applied, thanks.

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

-- PMM