qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 00/29] Block layer patches
@ 2023-02-23 18:51 Kevin Wolf
  2023-02-23 18:51 ` [PULL 01/29] block: Make bdrv_can_set_read_only() static Kevin Wolf
                   ` (29 more replies)
  0 siblings, 30 replies; 37+ messages in thread
From: Kevin Wolf @ 2023-02-23 18:51 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, peter.maydell, qemu-devel

The following changes since commit 79b677d658d3d35e1e776826ac4abb28cdce69b8:

  Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging (2023-02-21 11:28:31 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 0f385a2420d2c3f8ae7ed65fbe2712027664059e:

  block/rbd: Add support for layered encryption (2023-02-23 19:49:35 +0100)

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

- Lock the graph, part 2 (BlockDriver callbacks)
- virtio-scsi: fix SCSIDevice hot unplug with IOThread
- rbd: Add support for layered encryption

----------------------------------------------------------------
Emanuele Giuseppe Esposito (5):
      block/qed: add missing graph rdlock in qed_need_check_timer_entry
      block: Mark bdrv_co_flush() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_pdiscard() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_copy_range() GRAPH_RDLOCK
      block: Mark bdrv_co_is_inserted() and callers GRAPH_RDLOCK

Kevin Wolf (18):
      block: Make bdrv_can_set_read_only() static
      mirror: Fix access of uninitialised fields during start
      block: Mark bdrv_co_truncate() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_block_status() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_ioctl() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_pwrite_zeroes() and callers GRAPH_RDLOCK
      block: Mark read/write in block/io.c GRAPH_RDLOCK
      block: Mark public read/write functions GRAPH_RDLOCK
      block: Mark bdrv_co_pwrite_sync() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_do_pwrite_zeroes() GRAPH_RDLOCK
      block: Mark preadv_snapshot/snapshot_block_status GRAPH_RDLOCK
      block: Mark bdrv_co_create() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_io_(un)plug() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_eject/lock_medium() and callers GRAPH_RDLOCK
      block: Mark bdrv_(un)register_buf() GRAPH_RDLOCK
      block: Mark bdrv_co_delete_file() and callers GRAPH_RDLOCK
      block: Mark bdrv_*_dirty_bitmap() and callers GRAPH_RDLOCK
      block: Mark bdrv_co_refresh_total_sectors() and callers GRAPH_RDLOCK

Or Ozeri (3):
      block/rbd: Remove redundant stack variable passphrase_len
      block/rbd: Add luks-any encryption opening option
      block/rbd: Add support for layered encryption

Stefan Hajnoczi (3):
      scsi: protect req->aiocb with AioContext lock
      dma-helpers: prevent dma_blk_cb() vs dma_aio_cancel() race
      virtio-scsi: reset SCSI devices from main loop thread

 qapi/block-core.json               |  27 +++++-
 block/coroutines.h                 |   2 +-
 block/qcow2.h                      |  27 ++++--
 block/qed.h                        |  45 +++++----
 include/block/block-copy.h         |   6 +-
 include/block/block-global-state.h |  14 +--
 include/block/block-io.h           | 110 ++++++++++++----------
 include/block/block_int-common.h   | 173 ++++++++++++++++++----------------
 include/block/block_int-io.h       |  53 ++++++-----
 include/block/dirty-bitmap.h       |  12 +--
 include/hw/virtio/virtio-scsi.h    |  11 ++-
 include/sysemu/block-backend-io.h  |   7 +-
 block.c                            |  12 ++-
 block/backup.c                     |   3 +
 block/blkdebug.c                   |  19 ++--
 block/blklogwrites.c               |  35 ++++---
 block/blkreplay.c                  |  24 +++--
 block/blkverify.c                  |   5 +-
 block/block-backend.c              |  39 +++++---
 block/block-copy.c                 |  32 ++++---
 block/bochs.c                      |   2 +-
 block/commit.c                     |   5 +-
 block/copy-before-write.c          |  33 ++++---
 block/copy-on-read.c               |  44 +++++----
 block/create.c                     |   9 +-
 block/crypto.c                     |  16 ++--
 block/dirty-bitmap.c               |   2 +
 block/file-posix.c                 |  27 +++---
 block/file-win32.c                 |   7 +-
 block/filter-compress.c            |  36 ++++---
 block/io.c                         | 108 +++++++++++++--------
 block/iscsi.c                      |  28 +++---
 block/mirror.c                     |  59 ++++++++----
 block/parallels.c                  |  33 +++----
 block/preallocate.c                |  38 ++++----
 block/qcow.c                       |  46 +++++----
 block/qcow2-cluster.c              |  17 ++--
 block/qcow2.c                      | 136 +++++++++++++++------------
 block/qed-check.c                  |   3 +-
 block/qed-table.c                  |  10 +-
 block/qed.c                        | 101 ++++++++++----------
 block/quorum.c                     |  62 +++++++-----
 block/raw-format.c                 |  76 ++++++++-------
 block/rbd.c                        | 188 ++++++++++++++++++++++++++++++++++---
 block/replication.c                |  18 ++--
 block/snapshot-access.c            |   8 +-
 block/stream.c                     |  40 ++++----
 block/throttle.c                   |  36 ++++---
 block/vdi.c                        |  11 +--
 block/vhdx.c                       |  18 ++--
 block/vmdk.c                       | 132 ++++++++++++--------------
 block/vpc.c                        |  11 +--
 hw/scsi/scsi-disk.c                |  23 +++--
 hw/scsi/scsi-generic.c             |  11 ++-
 hw/scsi/virtio-scsi.c              | 169 ++++++++++++++++++++++++++-------
 qemu-img.c                         |   8 +-
 softmmu/dma-helpers.c              |  12 ++-
 tests/unit/test-bdrv-drain.c       |  20 ++--
 tests/unit/test-block-iothread.c   |   3 +-
 59 files changed, 1355 insertions(+), 907 deletions(-)



^ permalink raw reply	[flat|nested] 37+ messages in thread
* [PULL 00/29] Block layer patches
@ 2020-03-06 17:14 Kevin Wolf
  2020-03-06 19:16 ` no-reply
  2020-03-06 19:26 ` Peter Maydell
  0 siblings, 2 replies; 37+ messages in thread
From: Kevin Wolf @ 2020-03-06 17:14 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, peter.maydell, qemu-devel

The following changes since commit f4c4357fbfca0fb14e477bf661ae7384b4b9b283:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-docs-20200306' into staging (2020-03-06 11:11:54 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 1de6b45fb5c1489b450df7d1a4c692bba9678ce6:

  block: bdrv_reopen() with backing file in different AioContext (2020-03-06 17:34:09 +0100)

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

- Add qemu-storage-daemon (still experimental)
- rbd: Add support for ceph namespaces
- Fix bdrv_reopen() with backing file in different AioContext
- qcow2: Fix read-write reopen with persistent dirty bitmaps
- qcow2: Fix alloc_cluster_abort() for pre-existing clusters

----------------------------------------------------------------
Florian Florensa (1):
      block/rbd: Add support for ceph namespaces

Kevin Wolf (22):
      qemu-storage-daemon: Add barebone tool
      stubs: Add arch_type
      block: Move system emulator QMP commands to block/qapi-sysemu.c
      block: Move common QMP commands to block-core QAPI module
      block: Move sysemu QMP commands to QAPI block module
      qemu-storage-daemon: Add --blockdev option
      qapi: Flatten object-add
      qemu-storage-daemon: Add --object option
      qemu-storage-daemon: Add --nbd-server option
      blockdev-nbd: Boxed argument type for nbd-server-add
      qemu-storage-daemon: Add --export option
      qemu-storage-daemon: Add main loop
      qemu-storage-daemon: Add --chardev option
      stubs: Update monitor stubs for qemu-storage-daemon
      qapi: Create 'pragma' module
      monitor: Create QAPIfied monitor_init()
      qmp: Fail gracefully if chardev is already in use
      hmp: Fail gracefully if chardev is already in use
      monitor: Add allow_hmp parameter to monitor_init()
      qemu-storage-daemon: Add --monitor option
      iotests: Refactor blockdev-reopen test for iothreads
      block: bdrv_reopen() with backing file in different AioContext

Max Reitz (4):
      qcow2: Fix alloc_cluster_abort() for pre-existing clusters
      iotests/026: Test EIO on preallocated zero cluster
      iotests/026: Test EIO on allocation in a data-file
      block: Fix leak in bdrv_create_file_fallback()

Peter Krempa (2):
      block: Introduce 'bdrv_reopen_commit_post' step
      block/qcow2: Move bitmap reopen into bdrv_reopen_commit_post

 qapi/block-core.json                 | 733 +++++++++++++++++------------------
 qapi/block.json                      | 512 ++++++++++++++----------
 qapi/control.json                    |  37 ++
 qapi/pragma.json                     |  24 ++
 qapi/qapi-schema.json                |  25 +-
 qapi/qom.json                        |  12 +-
 qapi/transaction.json                |   2 +-
 docs/system/deprecated.rst           |   5 +
 configure                            |   2 +-
 include/block/block_int.h            |   1 +
 include/block/nbd.h                  |   1 +
 include/monitor/monitor.h            |   6 +-
 include/qom/object_interfaces.h      |   7 +
 include/sysemu/arch_init.h           |   2 +
 block.c                              |  44 ++-
 block/qapi-sysemu.c                  | 590 ++++++++++++++++++++++++++++
 block/qcow2-cluster.c                |   2 +-
 block/qcow2.c                        |   7 +-
 block/rbd.c                          |  44 ++-
 blockdev-nbd.c                       |  40 +-
 blockdev.c                           | 559 --------------------------
 chardev/char.c                       |   8 +-
 gdbstub.c                            |   2 +-
 hw/block/xen-block.c                 |  11 +-
 monitor/hmp-cmds.c                   |  21 +-
 monitor/hmp.c                        |   8 +-
 monitor/misc.c                       |   2 +
 monitor/monitor.c                    |  86 ++--
 monitor/qmp-cmds.c                   |   2 +-
 monitor/qmp.c                        |  11 +-
 qemu-storage-daemon.c                | 340 ++++++++++++++++
 qom/qom-qmp-cmds.c                   |  42 +-
 stubs/arch_type.c                    |   4 +
 stubs/monitor-core.c                 |  21 +
 stubs/monitor.c                      |  17 +-
 tests/test-util-sockets.c            |   4 +-
 scripts/qapi/gen.py                  |   5 +
 Makefile                             |  37 ++
 Makefile.objs                        |   9 +
 block/Makefile.objs                  |   4 +-
 monitor/Makefile.objs                |   2 +
 qapi/Makefile.objs                   |   7 +-
 qom/Makefile.objs                    |   1 +
 storage-daemon/Makefile.objs         |   1 +
 storage-daemon/qapi/Makefile.objs    |   1 +
 storage-daemon/qapi/qapi-schema.json |  26 ++
 stubs/Makefile.objs                  |   2 +
 tests/qemu-iotests/026               |  53 +++
 tests/qemu-iotests/026.out           |  16 +
 tests/qemu-iotests/026.out.nocache   |  16 +
 tests/qemu-iotests/245               |  45 ++-
 tests/qemu-iotests/245.out           |   4 +-
 52 files changed, 2157 insertions(+), 1306 deletions(-)
 create mode 100644 qapi/pragma.json
 create mode 100644 block/qapi-sysemu.c
 create mode 100644 qemu-storage-daemon.c
 create mode 100644 stubs/arch_type.c
 create mode 100644 stubs/monitor-core.c
 create mode 100644 storage-daemon/Makefile.objs
 create mode 100644 storage-daemon/qapi/Makefile.objs
 create mode 100644 storage-daemon/qapi/qapi-schema.json



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

end of thread, other threads:[~2023-02-27 11:23 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-23 18:51 [PULL 00/29] Block layer patches Kevin Wolf
2023-02-23 18:51 ` [PULL 01/29] block: Make bdrv_can_set_read_only() static Kevin Wolf
2023-02-23 18:51 ` [PULL 02/29] mirror: Fix access of uninitialised fields during start Kevin Wolf
2023-02-23 18:51 ` [PULL 03/29] block: Mark bdrv_co_truncate() and callers GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 04/29] block: Mark bdrv_co_block_status() " Kevin Wolf
2023-02-23 18:51 ` [PULL 05/29] block: Mark bdrv_co_ioctl() " Kevin Wolf
2023-02-23 18:51 ` [PULL 06/29] block/qed: add missing graph rdlock in qed_need_check_timer_entry Kevin Wolf
2023-02-23 18:51 ` [PULL 07/29] block: Mark bdrv_co_flush() and callers GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 08/29] block: Mark bdrv_co_pdiscard() " Kevin Wolf
2023-02-23 18:51 ` [PULL 09/29] block: Mark bdrv_co_pwrite_zeroes() " Kevin Wolf
2023-02-23 18:51 ` [PULL 10/29] block: Mark read/write in block/io.c GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 11/29] block: Mark public read/write functions GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 12/29] block: Mark bdrv_co_pwrite_sync() and callers GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 13/29] block: Mark bdrv_co_do_pwrite_zeroes() GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 14/29] block: Mark bdrv_co_copy_range() GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 15/29] block: Mark preadv_snapshot/snapshot_block_status GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 16/29] block: Mark bdrv_co_create() and callers GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 17/29] block: Mark bdrv_co_io_(un)plug() " Kevin Wolf
2023-02-23 18:51 ` [PULL 18/29] block: Mark bdrv_co_is_inserted() " Kevin Wolf
2023-02-23 18:51 ` [PULL 19/29] block: Mark bdrv_co_eject/lock_medium() " Kevin Wolf
2023-02-23 18:51 ` [PULL 20/29] block: Mark bdrv_(un)register_buf() GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 21/29] block: Mark bdrv_co_delete_file() and callers GRAPH_RDLOCK Kevin Wolf
2023-02-23 18:51 ` [PULL 22/29] block: Mark bdrv_*_dirty_bitmap() " Kevin Wolf
2023-02-23 18:51 ` [PULL 23/29] block: Mark bdrv_co_refresh_total_sectors() " Kevin Wolf
2023-02-23 18:51 ` [PULL 24/29] scsi: protect req->aiocb with AioContext lock Kevin Wolf
2023-02-23 18:51 ` [PULL 25/29] dma-helpers: prevent dma_blk_cb() vs dma_aio_cancel() race Kevin Wolf
2023-02-23 18:51 ` [PULL 26/29] virtio-scsi: reset SCSI devices from main loop thread Kevin Wolf
2023-02-23 18:51 ` [PULL 27/29] block/rbd: Remove redundant stack variable passphrase_len Kevin Wolf
2023-02-23 18:51 ` [PULL 28/29] block/rbd: Add luks-any encryption opening option Kevin Wolf
2023-02-23 18:51 ` [PULL 29/29] block/rbd: Add support for layered encryption Kevin Wolf
2023-02-24 18:50 ` [PULL 00/29] Block layer patches Peter Maydell
2023-02-24 21:35   ` Philippe Mathieu-Daudé
2023-02-27  9:12     ` Thomas Huth
2023-02-27 11:22       ` Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2020-03-06 17:14 Kevin Wolf
2020-03-06 19:16 ` no-reply
2020-03-06 19:26 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).