All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 00/28] Block layer patches
@ 2023-09-15 14:43 Kevin Wolf
  2023-09-15 14:43 ` [PULL 01/28] block: Remove unused BlockReopenQueueEntry.perms_checked Kevin Wolf
                   ` (28 more replies)
  0 siblings, 29 replies; 39+ messages in thread
From: Kevin Wolf @ 2023-09-15 14:43 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, qemu-devel

The following changes since commit 005ad32358f12fe9313a4a01918a55e60d4f39e5:

  Merge tag 'pull-tpm-2023-09-12-3' of https://github.com/stefanberger/qemu-tpm into staging (2023-09-13 13:41:57 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 5d96864b73225ee61b0dad7e928f0cddf14270fc:

  block-coroutine-wrapper: use qemu_get_current_aio_context() (2023-09-15 15:49:14 +0200)

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

- Graph locking part 4 (node management)
- qemu-img map: report compressed data blocks
- block-backend: process I/O in the current AioContext

----------------------------------------------------------------
Andrey Drobyshev via (2):
      block: add BDRV_BLOCK_COMPRESSED flag for bdrv_block_status()
      qemu-img: map: report compressed data blocks

Kevin Wolf (21):
      block: Remove unused BlockReopenQueueEntry.perms_checked
      preallocate: Factor out preallocate_truncate_to_real_size()
      preallocate: Don't poll during permission updates
      block: Take AioContext lock for bdrv_append() more consistently
      block: Introduce bdrv_schedule_unref()
      block-coroutine-wrapper: Add no_co_wrapper_bdrv_wrlock functions
      block-coroutine-wrapper: Allow arbitrary parameter names
      block: Mark bdrv_replace_child_noperm() GRAPH_WRLOCK
      block: Mark bdrv_replace_child_tran() GRAPH_WRLOCK
      block: Mark bdrv_attach_child_common() GRAPH_WRLOCK
      block: Call transaction callbacks with lock held
      block: Mark bdrv_attach_child() GRAPH_WRLOCK
      block: Mark bdrv_parent_perms_conflict() and callers GRAPH_RDLOCK
      block: Mark bdrv_get_cumulative_perm() and callers GRAPH_RDLOCK
      block: Mark bdrv_child_perm() GRAPH_RDLOCK
      block: Mark bdrv_parent_cb_change_media() GRAPH_RDLOCK
      block: Take graph rdlock in bdrv_drop_intermediate()
      block: Take graph rdlock in bdrv_change_aio_context()
      block: Mark bdrv_root_unref_child() GRAPH_WRLOCK
      block: Mark bdrv_unref_child() GRAPH_WRLOCK
      block: Mark bdrv_add/del_child() and caller GRAPH_WRLOCK

Stefan Hajnoczi (5):
      block: remove AIOCBInfo->get_aio_context()
      test-bdrv-drain: avoid race with BH in IOThread drain test
      block-backend: process I/O in the current AioContext
      block-backend: process zoned requests in the current AioContext
      block-coroutine-wrapper: use qemu_get_current_aio_context()

 qapi/block-core.json                             |   6 +-
 include/block/aio.h                              |   1 -
 include/block/block-common.h                     |   7 +
 include/block/block-global-state.h               |  32 +-
 include/block/block-io.h                         |   1 -
 include/block/block_int-common.h                 |  34 +-
 include/block/block_int-global-state.h           |  14 +-
 include/sysemu/block-backend-global-state.h      |   4 +-
 block.c                                          | 348 +++++++---
 block/blklogwrites.c                             |   4 +
 block/blkverify.c                                |   2 +
 block/block-backend.c                            |  64 +-
 block/copy-before-write.c                        |  10 +-
 block/crypto.c                                   |   6 +-
 block/graph-lock.c                               |  26 +-
 block/io.c                                       |  23 +-
 block/mirror.c                                   |   8 +
 block/preallocate.c                              | 133 ++--
 block/qcow.c                                     |   5 +-
 block/qcow2.c                                    |   7 +-
 block/quorum.c                                   |  23 +-
 block/replication.c                              |   9 +
 block/snapshot.c                                 |   2 +
 block/stream.c                                   |  20 +-
 block/vmdk.c                                     |  15 +
 blockdev.c                                       |  23 +-
 blockjob.c                                       |   2 +
 hw/nvme/ctrl.c                                   |   7 -
 qemu-img.c                                       |   8 +-
 softmmu/dma-helpers.c                            |   8 -
 tests/unit/test-bdrv-drain.c                     |  31 +-
 tests/unit/test-bdrv-graph-mod.c                 |  20 +
 tests/unit/test-block-iothread.c                 |   3 +
 util/thread-pool.c                               |   8 -
 scripts/block-coroutine-wrapper.py               |  24 +-
 tests/qemu-iotests/051.pc.out                    |   6 +-
 tests/qemu-iotests/122.out                       |  84 +--
 tests/qemu-iotests/146.out                       | 780 +++++++++++------------
 tests/qemu-iotests/154.out                       | 194 +++---
 tests/qemu-iotests/179.out                       | 178 +++---
 tests/qemu-iotests/209.out                       |   4 +-
 tests/qemu-iotests/221.out                       |  16 +-
 tests/qemu-iotests/223.out                       |  60 +-
 tests/qemu-iotests/241.out                       |  10 +-
 tests/qemu-iotests/244.out                       |  24 +-
 tests/qemu-iotests/252.out                       |  10 +-
 tests/qemu-iotests/253.out                       |  20 +-
 tests/qemu-iotests/274.out                       |  48 +-
 tests/qemu-iotests/tests/nbd-qemu-allocation.out |  16 +-
 tests/qemu-iotests/tests/qemu-img-bitmaps.out    |  24 +-
 50 files changed, 1376 insertions(+), 1036 deletions(-)



^ permalink raw reply	[flat|nested] 39+ messages in thread
* [PULL 00/28] Block layer patches
@ 2023-05-10 12:20 Kevin Wolf
  2023-05-10 15:42 ` Richard Henderson
  0 siblings, 1 reply; 39+ messages in thread
From: Kevin Wolf @ 2023-05-10 12:20 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, richard.henderson, qemu-devel

The following changes since commit b2896c1b09878fd1c4b485b3662f8beecbe0fef4:

  Merge tag 'vfio-updates-20230509.0' of https://gitlab.com/alex.williamson/qemu into staging (2023-05-10 11:20:35 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 58a2e3f5c37be02dac3086b81bdda9414b931edf:

  block: compile out assert_bdrv_graph_readable() by default (2023-05-10 14:16:54 +0200)

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

- Graph locking, part 3 (more block drivers)
- Compile out assert_bdrv_graph_readable() by default
- Add configure options for vmdk, vhdx and vpc
- Fix use after free in blockdev_mark_auto_del()
- migration: Attempt disk reactivation in more failure scenarios
- Coroutine correctness fixes

----------------------------------------------------------------
Emanuele Giuseppe Esposito (5):
      nbd: Mark nbd_co_do_establish_connection() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_get_allocated_file_size() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_get_info() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_debug_event() GRAPH_RDLOCK
      block: Mark BlockDriver callbacks for amend job GRAPH_RDLOCK

Eric Blake (1):
      migration: Attempt disk reactivation in more failure scenarios

Kevin Wolf (18):
      block: Fix use after free in blockdev_mark_auto_del()
      iotests/nbd-reconnect-on-open: Fix NBD socket path
      qcow2: Don't call bdrv_getlength() in coroutine_fns
      block: Consistently call bdrv_activate() outside coroutine
      block: bdrv/blk_co_unref() for calls in coroutine context
      block: Don't call no_coroutine_fns in qmp_block_resize()
      iotests: Test resizing image attached to an iothread
      test-bdrv-drain: Don't modify the graph in coroutines
      graph-lock: Add GRAPH_UNLOCKED(_PTR)
      graph-lock: Fix GRAPH_RDLOCK_GUARD*() to be reader lock
      block: .bdrv_open is non-coroutine and unlocked
      nbd: Remove nbd_co_flush() wrapper function
      vhdx: Require GRAPH_RDLOCK for accessing a node's parent list
      mirror: Require GRAPH_RDLOCK for accessing a node's parent list
      block: Mark bdrv_query_bds_stats() and callers GRAPH_RDLOCK
      block: Mark bdrv_query_block_graph_info() and callers GRAPH_RDLOCK
      block: Mark bdrv_recurse_can_replace() and callers GRAPH_RDLOCK
      block: Mark bdrv_refresh_limits() and callers GRAPH_RDLOCK

Paolo Bonzini (1):
      block: add missing coroutine_fn annotations

Stefan Hajnoczi (2):
      aio-wait: avoid AioContext lock in aio_wait_bh_oneshot()
      block: compile out assert_bdrv_graph_readable() by default

Vladimir Sementsov-Ogievskiy (1):
      block: add configure options for excluding vmdk, vhdx and vpc

 meson_options.txt                                  |   8 ++
 configure                                          |   1 +
 block/coroutines.h                                 |   5 +-
 block/qcow2.h                                      |   4 +-
 include/block/aio-wait.h                           |   2 +-
 include/block/block-global-state.h                 |  19 +++-
 include/block/block-io.h                           |  23 +++--
 include/block/block_int-common.h                   |  37 +++----
 include/block/block_int-global-state.h             |   4 +-
 include/block/graph-lock.h                         |  20 ++--
 include/block/qapi.h                               |   7 +-
 include/sysemu/block-backend-global-state.h        |   5 +-
 block.c                                            |  25 ++++-
 block/amend.c                                      |   8 +-
 block/blkverify.c                                  |   5 +-
 block/block-backend.c                              |  10 +-
 block/crypto.c                                     |   8 +-
 block/graph-lock.c                                 |   3 +
 block/io.c                                         |  12 +--
 block/mirror.c                                     |  18 +++-
 block/nbd.c                                        |  50 +++++----
 block/parallels.c                                  |   6 +-
 block/qapi.c                                       |   6 +-
 block/qcow.c                                       |   6 +-
 block/qcow2-refcount.c                             |   2 +-
 block/qcow2.c                                      |  48 ++++-----
 block/qed.c                                        |  24 ++---
 block/quorum.c                                     |   4 +-
 block/raw-format.c                                 |   2 +-
 block/vdi.c                                        |   6 +-
 block/vhdx.c                                       |  15 +--
 block/vmdk.c                                       |  20 ++--
 block/vpc.c                                        |   6 +-
 blockdev.c                                         |  25 +++--
 hw/block/dataplane/virtio-blk.c                    |   3 +-
 hw/scsi/virtio-scsi-dataplane.c                    |   2 -
 migration/migration.c                              |  24 +++--
 qemu-img.c                                         |   2 +
 tests/unit/test-bdrv-drain.c                       | 112 ++++++++++++++-------
 util/aio-wait.c                                    |   2 +-
 block/meson.build                                  |  18 +++-
 meson.build                                        |   5 +
 scripts/meson-buildoptions.sh                      |  13 +++
 tests/qemu-iotests/tests/iothreads-resize          |  71 +++++++++++++
 tests/qemu-iotests/tests/iothreads-resize.out      |  11 ++
 tests/qemu-iotests/tests/nbd-reconnect-on-open     |   3 +-
 tests/qemu-iotests/tests/nbd-reconnect-on-open.out |   4 +-
 47 files changed, 474 insertions(+), 240 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/iothreads-resize
 create mode 100644 tests/qemu-iotests/tests/iothreads-resize.out



^ permalink raw reply	[flat|nested] 39+ messages in thread
* [PULL 00/28] Block layer patches
@ 2021-07-09 12:50 Kevin Wolf
  2021-07-10 20:27 ` Peter Maydell
  0 siblings, 1 reply; 39+ messages in thread
From: Kevin Wolf @ 2021-07-09 12:50 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, peter.maydell, qemu-devel

The following changes since commit 9db3065c62a983286d06c207f4981408cf42184d:

  Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.1-pull-request' into staging (2021-07-08 16:30:18 +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 e60edf69e2f64e818466019313517a2e6d6b63f4:

  block: Make blockdev-reopen stable API (2021-07-09 13:19:11 +0200)

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

- Make blockdev-reopen stable
- Remove deprecated qemu-img backing file without format
- rbd: Convert to coroutines and add write zeroes support
- rbd: Updated MAINTAINERS
- export/fuse: Allow other users access to the export
- vhost-user: Fix backends without multiqueue support
- Fix drive-backup transaction endless drained section

----------------------------------------------------------------
Alberto Garcia (4):
      block: Add bdrv_reopen_queue_free()
      block: Support multiple reopening with x-blockdev-reopen
      iotests: Test reopening multiple devices at the same time
      block: Make blockdev-reopen stable API

Eric Blake (3):
      qcow2: Prohibit backing file changes in 'qemu-img amend'
      qemu-img: Require -F with -b backing image
      qemu-img: Improve error for rebase without backing format

Heinrich Schuchardt (1):
      util/uri: do not check argument of uri_free()

Ilya Dryomov (1):
      MAINTAINERS: update block/rbd.c maintainer

Kevin Wolf (3):
      vhost-user: Fix backends without multiqueue support
      qcow2: Fix dangling pointer after reopen for 'file'
      block: Acquire AioContexts during bdrv_reopen_multiple()

Max Reitz (6):
      export/fuse: Pass default_permissions for mount
      export/fuse: Add allow-other option
      export/fuse: Give SET_ATTR_SIZE its own branch
      export/fuse: Let permissions be adjustable
      iotests/308: Test +w on read-only FUSE exports
      iotests/fuse-allow-other: Test allow-other

Or Ozeri (1):
      block/rbd: Add support for rbd image encryption

Peter Lieven (8):
      block/rbd: bump librbd requirement to luminous release
      block/rbd: store object_size in BDRVRBDState
      block/rbd: update s->image_size in qemu_rbd_getlength
      block/rbd: migrate from aio to coroutines
      block/rbd: add write zeroes support
      block/rbd: drop qemu_rbd_refresh_limits
      block/rbd: fix type of task->complete
      MAINTAINERS: add block/rbd.c reviewer

Vladimir Sementsov-Ogievskiy (1):
      blockdev: fix drive-backup transaction endless drained section

 qapi/block-core.json                               | 134 +++-
 qapi/block-export.json                             |  33 +-
 docs/system/deprecated.rst                         |  32 -
 docs/system/removed-features.rst                   |  31 +
 include/block/block.h                              |   3 +
 block.c                                            | 108 +--
 block/export/fuse.c                                | 121 +++-
 block/nfs.c                                        |   4 +-
 block/qcow2.c                                      |  42 +-
 block/rbd.c                                        | 749 +++++++++++++--------
 block/replication.c                                |   7 +
 block/ssh.c                                        |   4 +-
 blockdev.c                                         |  77 ++-
 hw/virtio/vhost-user.c                             |   3 +
 qemu-img.c                                         |   9 +-
 qemu-io-cmds.c                                     |   7 +-
 util/uri.c                                         |  22 +-
 MAINTAINERS                                        |   3 +-
 meson.build                                        |   7 +-
 tests/qemu-iotests/040                             |   4 +-
 tests/qemu-iotests/041                             |   6 +-
 tests/qemu-iotests/061                             |   3 +
 tests/qemu-iotests/061.out                         |   3 +-
 tests/qemu-iotests/082.out                         |   6 +-
 tests/qemu-iotests/114                             |  18 +-
 tests/qemu-iotests/114.out                         |  11 +-
 tests/qemu-iotests/155                             |   9 +-
 tests/qemu-iotests/165                             |   4 +-
 tests/qemu-iotests/245                             |  78 ++-
 tests/qemu-iotests/245.out                         |   4 +-
 tests/qemu-iotests/248                             |   4 +-
 tests/qemu-iotests/248.out                         |   2 +-
 tests/qemu-iotests/296                             |  11 +-
 tests/qemu-iotests/298                             |   4 +-
 tests/qemu-iotests/301                             |   4 +-
 tests/qemu-iotests/301.out                         |  16 +-
 tests/qemu-iotests/308                             |  20 +-
 tests/qemu-iotests/308.out                         |   6 +-
 tests/qemu-iotests/common.rc                       |   6 +-
 tests/qemu-iotests/tests/fuse-allow-other          | 168 +++++
 tests/qemu-iotests/tests/fuse-allow-other.out      |  88 +++
 .../qemu-iotests/tests/remove-bitmap-from-backing  |  22 +-
 42 files changed, 1350 insertions(+), 543 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/fuse-allow-other
 create mode 100644 tests/qemu-iotests/tests/fuse-allow-other.out



^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2023-09-19 20:09 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 14:43 [PULL 00/28] Block layer patches Kevin Wolf
2023-09-15 14:43 ` [PULL 01/28] block: Remove unused BlockReopenQueueEntry.perms_checked Kevin Wolf
2023-09-15 14:43 ` [PULL 02/28] preallocate: Factor out preallocate_truncate_to_real_size() Kevin Wolf
2023-09-15 14:43 ` [PULL 03/28] preallocate: Don't poll during permission updates Kevin Wolf
2023-09-15 14:43 ` [PULL 04/28] block: Take AioContext lock for bdrv_append() more consistently Kevin Wolf
2023-09-15 14:43 ` [PULL 05/28] block: Introduce bdrv_schedule_unref() Kevin Wolf
2023-09-15 14:43 ` [PULL 06/28] block-coroutine-wrapper: Add no_co_wrapper_bdrv_wrlock functions Kevin Wolf
2023-09-15 14:43 ` [PULL 07/28] block-coroutine-wrapper: Allow arbitrary parameter names Kevin Wolf
2023-09-15 14:43 ` [PULL 08/28] block: Mark bdrv_replace_child_noperm() GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 09/28] block: Mark bdrv_replace_child_tran() GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 10/28] block: Mark bdrv_attach_child_common() GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 11/28] block: Call transaction callbacks with lock held Kevin Wolf
2023-09-15 14:43 ` [PULL 12/28] block: Mark bdrv_attach_child() GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 13/28] block: Mark bdrv_parent_perms_conflict() and callers GRAPH_RDLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 14/28] block: Mark bdrv_get_cumulative_perm() " Kevin Wolf
2023-09-15 14:43 ` [PULL 15/28] block: Mark bdrv_child_perm() GRAPH_RDLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 16/28] block: Mark bdrv_parent_cb_change_media() GRAPH_RDLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 17/28] block: Take graph rdlock in bdrv_drop_intermediate() Kevin Wolf
2023-09-15 14:43 ` [PULL 18/28] block: Take graph rdlock in bdrv_change_aio_context() Kevin Wolf
2023-09-15 14:43 ` [PULL 19/28] block: Mark bdrv_root_unref_child() GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 20/28] block: Mark bdrv_unref_child() GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 21/28] block: Mark bdrv_add/del_child() and caller GRAPH_WRLOCK Kevin Wolf
2023-09-15 14:43 ` [PULL 22/28] block: add BDRV_BLOCK_COMPRESSED flag for bdrv_block_status() Kevin Wolf
2023-09-15 14:43 ` [PULL 23/28] qemu-img: map: report compressed data blocks Kevin Wolf
2023-09-15 14:43 ` [PULL 24/28] block: remove AIOCBInfo->get_aio_context() Kevin Wolf
2023-09-15 14:43 ` [PULL 25/28] test-bdrv-drain: avoid race with BH in IOThread drain test Kevin Wolf
2023-09-15 14:43 ` [PULL 26/28] block-backend: process I/O in the current AioContext Kevin Wolf
2023-09-15 14:43 ` [PULL 27/28] block-backend: process zoned requests " Kevin Wolf
2023-09-15 14:43 ` [PULL 28/28] block-coroutine-wrapper: use qemu_get_current_aio_context() Kevin Wolf
2023-09-18 15:03 ` [PULL 00/28] Block layer patches Stefan Hajnoczi
2023-09-18 18:56   ` Stefan Hajnoczi
2023-09-19 10:26     ` Kevin Wolf
2023-09-19 17:35       ` Stefan Hajnoczi
2023-09-19 19:34       ` Stefan Hajnoczi
2023-09-19 20:08       ` Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2023-05-10 12:20 Kevin Wolf
2023-05-10 15:42 ` Richard Henderson
2021-07-09 12:50 Kevin Wolf
2021-07-10 20:27 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.