mbox

[PULL,00/58] Block layer patches

Message ID 20221027183146.463129-1-kwolf@redhat.com
State New
Headers show

Pull-request

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

Message

Kevin Wolf Oct. 27, 2022, 6:30 p.m. UTC
The following changes since commit 344744e148e6e865f5a57e745b02a87e5ea534ad:

  Merge tag 'dump-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2022-10-26 10:53:49 -0400)

are available in the Git repository at:

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

for you to fetch changes up to be8da05b5ed8fb546731b9edb997f303f272bad8:

  block/block-backend: blk_set_enable_write_cache is IO_CODE (2022-10-27 20:27:37 +0200)

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

- Cleanup bs->backing and bs->file handling
- Refactor bdrv_try_set_aio_context using transactions
- Changes for improved coroutine_fn consistency
- vhost-user-blk: fix the resize crash
- io_uring: Use of io_uring_register_ring_fd() led to breakage, revert
- vvfat: Fix some problems with r/w mode
- Code cleanup
- MAINTAINERS: Fold "Block QAPI, monitor, ..." into "Block layer core"

----------------------------------------------------------------
Alberto Faria (20):
      backup: remove incorrect coroutine_fn annotation
      block: remove incorrect coroutine_fn annotation
      monitor: add missing coroutine_fn annotation
      ssh: add missing coroutine_fn annotation
      block: add missing coroutine_fn annotation to prototypes
      coroutine-lock: add missing coroutine_fn annotation to prototypes
      coroutine-io: add missing coroutine_fn annotation to prototypes
      block: add missing coroutine_fn annotation to BlockDriverState callbacks
      qcow2: add coroutine_fn annotation for indirect-called functions
      commit: switch to *_co_* functions
      block: switch to *_co_* functions
      mirror: switch to *_co_* functions
      parallels: switch to *_co_* functions
      qcow: switch to *_co_* functions
      qcow2: switch to *_co_* functions
      qed: switch to *_co_* functions
      vdi: switch to *_co_* functions
      vhdx: switch to *_co_* functions
      vmdk: switch to *_co_* functions
      monitor: switch to *_co_* functions

Bin Meng (3):
      block: Ignore close() failure in get_tmp_filename()
      block: Refactor get_tmp_filename()
      block/nfs: Fix 32-bit Windows build

Emanuele Giuseppe Esposito (11):
      block.c: assert bs->aio_context is written under BQL and drains
      block: use transactions as a replacement of ->{can_}set_aio_context()
      bdrv_change_aio_context: use hash table instead of list of visited nodes
      blockjob: implement .change_aio_ctx in child_job
      block: implement .change_aio_ctx in child_of_bds
      block-backend: implement .change_aio_ctx in child_root
      block: use the new _change_ API instead of _can_set_ and _set_
      block: remove all unused ->can_set_aio_ctx and ->set_aio_ctx callbacks
      block: rename bdrv_child_try_change_aio_context in bdrv_try_change_aio_context
      block: remove bdrv_try_set_aio_context and replace it with bdrv_try_change_aio_context
      block/block-backend: blk_set_enable_write_cache is IO_CODE

Hervé Poussineau (2):
      vvfat: allow some writes to bootsector
      vvfat: allow spaces in file names

Li Feng (1):
      vhost-user-blk: fix the resize crash

Markus Armbruster (1):
      MAINTAINERS: Fold "Block QAPI, monitor, ..." into "Block layer core"

Paolo Bonzini (4):
      blkdebug: add missing coroutine_fn annotation for indirect-called functions
      qcow: manually add more coroutine_fn annotations
      qcow2: manually add more coroutine_fn annotations
      vmdk: manually add more coroutine_fn annotations

Sam Li (1):
      block/io_uring: revert "Use io_uring_register_ring_fd() to skip fd operations"

Vladimir Sementsov-Ogievskiy (15):
      block: BlockDriver: add .filtered_child_is_backing field
      block: introduce bdrv_open_file_child() helper
      block/blklogwrites: don't care to remove bs->file child on failure
      test-bdrv-graph-mod: update test_parallel_perm_update test case
      tests-bdrv-drain: bdrv_replace_test driver: declare supports_backing
      test-bdrv-graph-mod: fix filters to be filters
      block: document connection between child roles and bs->backing/bs->file
      block/snapshot: stress that we fallback to primary child
      Revert "block: Let replace_child_noperm free children"
      Revert "block: Let replace_child_tran keep indirect pointer"
      Revert "block: Restructure remove_file_or_backing_child()"
      Revert "block: Pass BdrvChild ** to replace_child_noperm"
      block: Manipulate bs->file / bs->backing pointers in .attach/.detach
      block/snapshot: drop indirection around bdrv_snapshot_fallback_ptr
      block: refactor bdrv_remove_file_or_backing_child to bdrv_remove_child

 docs/devel/multiple-iothreads.txt  |   4 +-
 block/qcow2.h                      |  32 +-
 include/block/block-common.h       |  39 ++
 include/block/block-global-state.h |  18 +-
 include/block/block-hmp-cmds.h     |   2 +-
 include/block/block-io.h           |   5 +-
 include/block/block_int-common.h   |  49 ++-
 include/monitor/hmp.h              |   3 +-
 include/qemu/coroutine.h           |  18 +-
 block.c                            | 855 +++++++++++++++++--------------------
 block/backup.c                     |   2 +-
 block/blkdebug.c                   |  11 +-
 block/blklogwrites.c               |  11 +-
 block/blkreplay.c                  |   7 +-
 block/blkverify.c                  |   9 +-
 block/block-backend.c              |  76 ++--
 block/bochs.c                      |   7 +-
 block/cloop.c                      |   7 +-
 block/commit.c                     |   3 +-
 block/copy-before-write.c          |   9 +-
 block/copy-on-read.c               |   9 +-
 block/crypto.c                     |  11 +-
 block/dmg.c                        |   7 +-
 block/export/export.c              |   2 +-
 block/filter-compress.c            |   8 +-
 block/io.c                         |   8 +-
 block/io_uring.c                   |  13 +-
 block/mirror.c                     |   5 +-
 block/monitor/block-hmp-cmds.c     |   2 +-
 block/nfs.c                        |   8 +
 block/parallels.c                  |  35 +-
 block/preallocate.c                |   9 +-
 block/qcow.c                       |  66 +--
 block/qcow2-bitmap.c               |   4 +-
 block/qcow2-cluster.c              |  29 +-
 block/qcow2-refcount.c             |  18 +-
 block/qcow2-snapshot.c             |   6 +-
 block/qcow2.c                      |  40 +-
 block/qed-table.c                  |   2 +-
 block/qed.c                        |  20 +-
 block/raw-format.c                 |   4 +-
 block/replication.c                |   8 +-
 block/snapshot-access.c            |   6 +-
 block/snapshot.c                   |  59 +--
 block/ssh.c                        |   6 +-
 block/throttle.c                   |   8 +-
 block/vdi.c                        |  24 +-
 block/vhdx.c                       |  15 +-
 block/vmdk.c                       |  95 ++---
 block/vpc.c                        |   7 +-
 block/vvfat.c                      |  35 +-
 blockdev.c                         |  24 +-
 blockjob.c                         |  50 ++-
 hw/block/vhost-user-blk.c          |   4 +
 job.c                              |   2 +-
 tests/unit/test-bdrv-drain.c       |  17 +-
 tests/unit/test-bdrv-graph-mod.c   | 104 +++--
 tests/unit/test-block-iothread.c   |  10 +-
 MAINTAINERS                        |  12 +-
 meson.build                        |   1 -
 tests/qemu-iotests/051             |   3 +-
 tests/qemu-iotests/051.out         |   2 +-
 tests/qemu-iotests/051.pc.out      |   2 +-
 63 files changed, 984 insertions(+), 983 deletions(-)

Comments

Stefan Hajnoczi Oct. 30, 2022, 7:16 p.m. UTC | #1
On Thu, 27 Oct 2022 at 14:33, Kevin Wolf <kwolf@redhat.com> wrote:
>
> The following changes since commit 344744e148e6e865f5a57e745b02a87e5ea534ad:
>
>   Merge tag 'dump-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2022-10-26 10:53:49 -0400)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream

Please update the URL to https. Unencrypted git:// has fallen out of
use and is slightly less secure (e.g. if someone quickly applies your
pull request for testing and forgets to verify the tag's GPG
signature).

Stefan
Stefan Hajnoczi Oct. 31, 2022, 10:13 a.m. UTC | #2
Applied, thanks.

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