All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 00/57] Block layer patches
@ 2025-07-15 19:02 Kevin Wolf
  2025-07-15 19:02 ` [PULL 01/57] block: never use atomics to access bs->quiesce_counter Kevin Wolf
                   ` (57 more replies)
  0 siblings, 58 replies; 59+ messages in thread
From: Kevin Wolf @ 2025-07-15 19:02 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, stefanha, qemu-devel

The following changes since commit 9a4e273ddec3927920c5958d2226c6b38b543336:

  Merge tag 'pull-tcg-20250711' of https://gitlab.com/rth7680/qemu into staging (2025-07-13 01:46:04 -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 d7bd47bf84707d21324ad079c5aa8cca16fd138f:

  qemu-img: extend cvtnum() and use it in more places (2025-07-15 20:49:01 +0200)

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

- file-posix: Fix aio=threads performance regression after enablign FUA
- QMP query-block/query-named-block-nodes: Include child references
- Graph locking cleanups and fixes around making drain GRAPH_UNLOCKED
- qemu-img: Overhaul option handling and --help
- iotests: add test for changing the 'drive' property via 'qom-set'

----------------------------------------------------------------
Fiona Ebner (28):
      block: never use atomics to access bs->quiesce_counter
      block: add bdrv_graph_wrlock_drained() convenience wrapper
      block/mirror: switch to bdrv_set_backing_hd_drained() variant
      block/commit: switch to bdrv_set_backing_hd_drained() variant
      block: call bdrv_set_backing_hd() while unlocked in bdrv_open_backing_file()
      block: mark bdrv_set_backing_hd() as GRAPH_UNLOCKED
      blockdev: avoid locking and draining multiple times in external_snapshot_abort()
      block: drop wrapper for bdrv_set_backing_hd_drained()
      block-backend: mark blk_drain_all() as GRAPH_UNLOCKED
      block/snapshot: mark bdrv_all_delete_snapshot() as GRAPH_UNLOCKED
      block/stream: mark stream_prepare() as GRAPH_UNLOCKED
      block: mark bdrv_reopen_queue() and bdrv_reopen_multiple() as GRAPH_UNLOCKED
      block: mark bdrv_inactivate() as GRAPH_RDLOCK and move drain to callers
      block: mark bdrv_inactivate_all() as GRAPH_UNLOCKED
      block: mark blk_remove_bs() as GRAPH_UNLOCKED
      block: mark blk_drain() as GRAPH_UNLOCKED
      block-backend: mark blk_io_limits_disable() as GRAPH_UNLOCKED
      block/commit: mark commit_abort() as GRAPH_UNLOCKED
      block: mark bdrv_replace_child_bs() as GRAPH_UNLOCKED
      block: mark bdrv_insert_node() as GRAPH_UNLOCKED
      block: mark bdrv_drop_intermediate() as GRAPH_UNLOCKED
      block: mark bdrv_close_all() as GRAPH_UNLOCKED
      block: mark bdrv_close() as GRAPH_UNLOCKED
      block: mark bdrv_open_child_common() and its callers GRAPH_UNLOCKED
      blockjob: mark block_job_remove_all_bdrv() as GRAPH_UNLOCKED
      block/qapi: include child references in block device info
      block/qapi: make @node-name in @BlockDeviceInfo non-optional
      iotests: add test for changing the 'drive' property via 'qom-set'

Kevin Wolf (2):
      block: Allow bdrv_new() with and without graph lock
      file-posix: Fix aio=threads performance regression after enablign FUA

Michael Tokarev (27):
      qemu-img: measure: convert img_size to signed, simplify handling
      qemu-img: create: convert img_size to signed, simplify handling
      qemu-img: global option processing and error printing
      qemu-img: pass current cmd info into command handlers
      qemu-img: create: refresh options/--help (short option change)
      qemu-img: factor out parse_output_format() and use it in the code
      qemu-img: check: refresh options/--help
      qemu-img: simplify --repair error message
      qemu-img: commit: refresh options/--help
      qemu-img: compare: use helper function for --object
      qemu-img: compare: refresh options/--help
      qemu-img: convert: refresh options/--help (short option change)
      qemu-img: info: refresh options/--help
      qemu-img: map: refresh options/--help
      qemu-img: snapshot: allow specifying -f fmt
      qemu-img: snapshot: make -l (list) the default, simplify option handling
      qemu-img: snapshot: refresh options/--help
      qemu-img: rebase: refresh options/--help (short option change)
      qemu-img: resize: do not always eat last argument
      qemu-img: resize: refresh options/--help
      qemu-img: amend: refresh options/--help
      qemu-img: bench: refresh options/--help
      qemu-img: bitmap: refresh options/--help
      qemu-img: dd: refresh options/--help
      qemu-img: measure: refresh options/--help
      qemu-img: implement short --help, remove global help() function
      qemu-img: extend cvtnum() and use it in more places

 qapi/block-core.json                        |   18 +-
 docs/tools/qemu-img.rst                     |   18 +-
 include/block/block-global-state.h          |   46 +-
 include/block/block_int-common.h            |    4 +-
 include/block/blockjob.h                    |    2 +-
 include/block/graph-lock.h                  |   11 +
 include/block/snapshot.h                    |    6 +-
 include/qemu/job.h                          |    4 +-
 include/system/block-backend-global-state.h |    8 +-
 block.c                                     |   75 +-
 block/backup.c                              |    4 +-
 block/blklogwrites.c                        |    8 +-
 block/blkverify.c                           |    4 +-
 block/block-backend.c                       |    8 +-
 block/commit.c                              |   34 +-
 block/file-posix.c                          |   29 +-
 block/graph-lock.c                          |   40 +-
 block/io.c                                  |    7 +-
 block/mirror.c                              |   17 +-
 block/monitor/block-hmp-cmds.c              |   15 +-
 block/qapi.c                                |   12 +-
 block/qcow2.c                               |    4 +-
 block/quorum.c                              |    8 +-
 block/replication.c                         |   14 +-
 block/snapshot.c                            |    4 +-
 block/stream.c                              |   21 +-
 block/vmdk.c                                |   26 +-
 blockdev.c                                  |  102 +-
 blockjob.c                                  |   10 +-
 qemu-img.c                                  | 1779 ++++++++++++++++-----------
 tests/unit/test-bdrv-drain.c                |   46 +-
 tests/unit/test-bdrv-graph-mod.c            |   20 +-
 qemu-img-cmds.hx                            |    4 +-
 tests/qemu-iotests/049.out                  |    9 +-
 tests/qemu-iotests/153                      |    2 +-
 tests/qemu-iotests/153.out                  |   36 +-
 tests/qemu-iotests/178                      |    2 +-
 tests/qemu-iotests/178.out.qcow2            |    3 +-
 tests/qemu-iotests/178.out.raw              |    3 +-
 tests/qemu-iotests/184.out                  |    8 +
 tests/qemu-iotests/common.filter            |    6 +
 tests/qemu-iotests/tests/qom-set-drive      |   75 ++
 tests/qemu-iotests/tests/qom-set-drive.out  |   11 +
 43 files changed, 1521 insertions(+), 1042 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/qom-set-drive
 create mode 100644 tests/qemu-iotests/tests/qom-set-drive.out



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

end of thread, other threads:[~2025-07-16 12:47 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15 19:02 [PULL 00/57] Block layer patches Kevin Wolf
2025-07-15 19:02 ` [PULL 01/57] block: never use atomics to access bs->quiesce_counter Kevin Wolf
2025-07-15 19:02 ` [PULL 02/57] block: add bdrv_graph_wrlock_drained() convenience wrapper Kevin Wolf
2025-07-15 19:02 ` [PULL 03/57] block/mirror: switch to bdrv_set_backing_hd_drained() variant Kevin Wolf
2025-07-15 19:02 ` [PULL 04/57] block/commit: " Kevin Wolf
2025-07-15 19:02 ` [PULL 05/57] block: call bdrv_set_backing_hd() while unlocked in bdrv_open_backing_file() Kevin Wolf
2025-07-15 19:02 ` [PULL 06/57] block: mark bdrv_set_backing_hd() as GRAPH_UNLOCKED Kevin Wolf
2025-07-15 19:02 ` [PULL 07/57] blockdev: avoid locking and draining multiple times in external_snapshot_abort() Kevin Wolf
2025-07-15 19:02 ` [PULL 08/57] block: drop wrapper for bdrv_set_backing_hd_drained() Kevin Wolf
2025-07-15 19:02 ` [PULL 09/57] block-backend: mark blk_drain_all() as GRAPH_UNLOCKED Kevin Wolf
2025-07-15 19:02 ` [PULL 10/57] block/snapshot: mark bdrv_all_delete_snapshot() " Kevin Wolf
2025-07-15 19:02 ` [PULL 11/57] block/stream: mark stream_prepare() " Kevin Wolf
2025-07-15 19:02 ` [PULL 12/57] block: mark bdrv_reopen_queue() and bdrv_reopen_multiple() " Kevin Wolf
2025-07-15 19:02 ` [PULL 13/57] block: mark bdrv_inactivate() as GRAPH_RDLOCK and move drain to callers Kevin Wolf
2025-07-15 19:02 ` [PULL 14/57] block: mark bdrv_inactivate_all() as GRAPH_UNLOCKED Kevin Wolf
2025-07-15 19:02 ` [PULL 15/57] block: mark blk_remove_bs() " Kevin Wolf
2025-07-15 19:02 ` [PULL 16/57] block: mark blk_drain() " Kevin Wolf
2025-07-15 19:02 ` [PULL 17/57] block-backend: mark blk_io_limits_disable() " Kevin Wolf
2025-07-15 19:02 ` [PULL 18/57] block/commit: mark commit_abort() " Kevin Wolf
2025-07-15 19:02 ` [PULL 19/57] block: Allow bdrv_new() with and without graph lock Kevin Wolf
2025-07-15 19:02 ` [PULL 20/57] block: mark bdrv_replace_child_bs() as GRAPH_UNLOCKED Kevin Wolf
2025-07-15 19:02 ` [PULL 21/57] block: mark bdrv_insert_node() " Kevin Wolf
2025-07-15 19:02 ` [PULL 22/57] block: mark bdrv_drop_intermediate() " Kevin Wolf
2025-07-15 19:02 ` [PULL 23/57] block: mark bdrv_close_all() " Kevin Wolf
2025-07-15 19:02 ` [PULL 24/57] block: mark bdrv_close() " Kevin Wolf
2025-07-15 19:02 ` [PULL 25/57] block: mark bdrv_open_child_common() and its callers GRAPH_UNLOCKED Kevin Wolf
2025-07-15 19:02 ` [PULL 26/57] blockjob: mark block_job_remove_all_bdrv() as GRAPH_UNLOCKED Kevin Wolf
2025-07-15 19:03 ` [PULL 27/57] block/qapi: include child references in block device info Kevin Wolf
2025-07-15 19:03 ` [PULL 28/57] block/qapi: make @node-name in @BlockDeviceInfo non-optional Kevin Wolf
2025-07-15 19:03 ` [PULL 29/57] file-posix: Fix aio=threads performance regression after enablign FUA Kevin Wolf
2025-07-15 19:03 ` [PULL 30/57] iotests: add test for changing the 'drive' property via 'qom-set' Kevin Wolf
2025-07-15 19:03 ` [PULL 31/57] qemu-img: measure: convert img_size to signed, simplify handling Kevin Wolf
2025-07-15 19:03 ` [PULL 32/57] qemu-img: create: " Kevin Wolf
2025-07-15 19:03 ` [PULL 33/57] qemu-img: global option processing and error printing Kevin Wolf
2025-07-15 19:03 ` [PULL 34/57] qemu-img: pass current cmd info into command handlers Kevin Wolf
2025-07-15 19:03 ` [PULL 35/57] qemu-img: create: refresh options/--help (short option change) Kevin Wolf
2025-07-15 19:03 ` [PULL 36/57] qemu-img: factor out parse_output_format() and use it in the code Kevin Wolf
2025-07-15 19:03 ` [PULL 37/57] qemu-img: check: refresh options/--help Kevin Wolf
2025-07-15 19:03 ` [PULL 38/57] qemu-img: simplify --repair error message Kevin Wolf
2025-07-15 19:03 ` [PULL 39/57] qemu-img: commit: refresh options/--help Kevin Wolf
2025-07-15 19:03 ` [PULL 40/57] qemu-img: compare: use helper function for --object Kevin Wolf
2025-07-15 19:03 ` [PULL 41/57] qemu-img: compare: refresh options/--help Kevin Wolf
2025-07-15 19:03 ` [PULL 42/57] qemu-img: convert: refresh options/--help (short option change) Kevin Wolf
2025-07-15 19:03 ` [PULL 43/57] qemu-img: info: refresh options/--help Kevin Wolf
2025-07-15 19:03 ` [PULL 44/57] qemu-img: map: " Kevin Wolf
2025-07-15 19:03 ` [PULL 45/57] qemu-img: snapshot: allow specifying -f fmt Kevin Wolf
2025-07-15 19:03 ` [PULL 46/57] qemu-img: snapshot: make -l (list) the default, simplify option handling Kevin Wolf
2025-07-15 19:03 ` [PULL 47/57] qemu-img: snapshot: refresh options/--help Kevin Wolf
2025-07-15 19:03 ` [PULL 48/57] qemu-img: rebase: refresh options/--help (short option change) Kevin Wolf
2025-07-15 19:03 ` [PULL 49/57] qemu-img: resize: do not always eat last argument Kevin Wolf
2025-07-15 19:03 ` [PULL 50/57] qemu-img: resize: refresh options/--help Kevin Wolf
2025-07-15 19:03 ` [PULL 51/57] qemu-img: amend: " Kevin Wolf
2025-07-15 19:03 ` [PULL 52/57] qemu-img: bench: " Kevin Wolf
2025-07-15 19:03 ` [PULL 53/57] qemu-img: bitmap: " Kevin Wolf
2025-07-15 19:03 ` [PULL 54/57] qemu-img: dd: " Kevin Wolf
2025-07-15 19:03 ` [PULL 55/57] qemu-img: measure: " Kevin Wolf
2025-07-15 19:03 ` [PULL 56/57] qemu-img: implement short --help, remove global help() function Kevin Wolf
2025-07-15 19:03 ` [PULL 57/57] qemu-img: extend cvtnum() and use it in more places Kevin Wolf
2025-07-16 12:41 ` [PULL 00/57] Block layer patches Stefan Hajnoczi

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.