[PULL 00/20] Block layer patches

Kevin Wolf posted 20 patches 2 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210602134529.231756-1-kwolf@redhat.com
Maintainers: Stefan Hajnoczi <stefanha@redhat.com>, Markus Armbruster <armbru@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Jeff Cody <codyprime@gmail.com>, John Snow <jsnow@redhat.com>, Alberto Garcia <berto@igalia.com>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, Max Reitz <mreitz@redhat.com>, Fam Zheng <fam@euphon.net>, Eric Blake <eblake@redhat.com>
There is a newer version of this series
docs/devel/secure-coding-practices.rst |  9 ++++
include/block/block.h                  |  1 +
include/block/block_int.h              |  2 -
include/sysemu/block-backend.h         |  4 ++
block.c                                | 82 ++++++++++++++++++++--------------
block/block-backend.c                  | 26 +++++------
block/block-copy.c                     | 80 ++++++++++++++++++++++-----------
block/commit.c                         |  2 +-
block/file-posix.c                     | 29 ++++++++----
block/io.c                             |  4 +-
block/qapi.c                           |  2 +-
block/qcow2-snapshot.c                 |  2 +-
block/qcow2.c                          |  5 +--
block/quorum.c                         |  2 +-
block/snapshot.c                       |  2 +-
block/vhdx-log.c                       |  2 +-
block/vvfat.c                          | 14 +++---
blockdev.c                             |  3 +-
nbd/server.c                           | 82 +++++++++++++++++++++++++---------
qemu-io-cmds.c                         | 14 +++++-
tests/unit/test-block-iothread.c       |  6 ---
tests/qemu-iotests/283.out             |  2 +-
tests/qemu-iotests/307.out             |  2 +-
tests/qemu-iotests/tests/qsd-jobs.out  |  2 +-
24 files changed, 241 insertions(+), 138 deletions(-)
[PULL 00/20] Block layer patches
Posted by Kevin Wolf 2 years, 11 months ago
The following changes since commit dd2db39d78431ab5a0b78777afaab3d61e94533e:

  Merge remote-tracking branch 'remotes/ehabkost-gl/tags/x86-next-pull-request' into staging (2021-06-01 21:23:26 +0100)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to b317006a3f1f04191a7981cef83417cb2477213b:

  docs/secure-coding-practices: Describe how to use 'null-co' block driver (2021-06-02 14:29:14 +0200)

----------------------------------------------------------------
Block layer patches

- NBD server: Fix crashes related to switching between AioContexts
- file-posix: Workaround for discard/write_zeroes on buggy filesystems
- Follow-up fixes for the reopen vs. permission changes
- quorum: Fix error handling for flush
- block-copy: Refactor copy_range handling
- docs: Describe how to use 'null-co' block driver

----------------------------------------------------------------
Lukas Straub (1):
      block/quorum: Provide .bdrv_co_flush instead of .bdrv_co_flush_to_disk

Philippe Mathieu-Daudé (1):
      docs/secure-coding-practices: Describe how to use 'null-co' block driver

Sergio Lopez (2):
      block-backend: add drained_poll
      nbd/server: Use drained block ops to quiesce the server

Thomas Huth (2):
      block/file-posix: Fix problem with fallocate(PUNCH_HOLE) on GPFS
      block/file-posix: Try other fallbacks after invalid FALLOC_FL_ZERO_RANGE

Vladimir Sementsov-Ogievskiy (14):
      qemu-io-cmds: assert that we don't have .perm requested in no-blk case
      block/vvfat: child_vvfat_qcow: add .get_parent_aio_context, fix crash
      block/vvfat: fix vvfat_child_perm crash
      block: consistently use bdrv_is_read_only()
      block: drop BlockDriverState::read_only
      block: drop BlockBackendRootState::read_only
      block: document child argument of bdrv_attach_child_common()
      block-backend: improve blk_root_get_parent_desc()
      block: improve bdrv_child_get_parent_desc()
      block/vvfat: inherit child_vvfat_qcow from child_of_bds
      block: simplify bdrv_child_user_desc()
      block: improve permission conflict error message
      block-copy: fix block_copy_task_entry() progress update
      block-copy: refactor copy_range handling

 docs/devel/secure-coding-practices.rst |  9 ++++
 include/block/block.h                  |  1 +
 include/block/block_int.h              |  2 -
 include/sysemu/block-backend.h         |  4 ++
 block.c                                | 82 ++++++++++++++++++++--------------
 block/block-backend.c                  | 26 +++++------
 block/block-copy.c                     | 80 ++++++++++++++++++++++-----------
 block/commit.c                         |  2 +-
 block/file-posix.c                     | 29 ++++++++----
 block/io.c                             |  4 +-
 block/qapi.c                           |  2 +-
 block/qcow2-snapshot.c                 |  2 +-
 block/qcow2.c                          |  5 +--
 block/quorum.c                         |  2 +-
 block/snapshot.c                       |  2 +-
 block/vhdx-log.c                       |  2 +-
 block/vvfat.c                          | 14 +++---
 blockdev.c                             |  3 +-
 nbd/server.c                           | 82 +++++++++++++++++++++++++---------
 qemu-io-cmds.c                         | 14 +++++-
 tests/unit/test-block-iothread.c       |  6 ---
 tests/qemu-iotests/283.out             |  2 +-
 tests/qemu-iotests/307.out             |  2 +-
 tests/qemu-iotests/tests/qsd-jobs.out  |  2 +-
 24 files changed, 241 insertions(+), 138 deletions(-)


Re: [PULL 00/20] Block layer patches
Posted by Peter Maydell 2 years, 11 months ago
On Wed, 2 Jun 2021 at 14:45, Kevin Wolf <kwolf@redhat.com> wrote:
>
> The following changes since commit dd2db39d78431ab5a0b78777afaab3d61e94533e:
>
>   Merge remote-tracking branch 'remotes/ehabkost-gl/tags/x86-next-pull-request' into staging (2021-06-01 21:23:26 +0100)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to b317006a3f1f04191a7981cef83417cb2477213b:
>
>   docs/secure-coding-practices: Describe how to use 'null-co' block driver (2021-06-02 14:29:14 +0200)
>
> ----------------------------------------------------------------
> Block layer patches
>
> - NBD server: Fix crashes related to switching between AioContexts
> - file-posix: Workaround for discard/write_zeroes on buggy filesystems
> - Follow-up fixes for the reopen vs. permission changes
> - quorum: Fix error handling for flush
> - block-copy: Refactor copy_range handling
> - docs: Describe how to use 'null-co' block driver
>


Applied, thanks.

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

-- PMM