mbox series

[PULL,00/37] Block layer patches

Message ID 20201002144345.253865-1-kwolf@redhat.com
Headers show
Series Block layer patches | expand

Message

Kevin Wolf Oct. 2, 2020, 2:43 p.m. UTC
The following changes since commit 0d2a4545bf7e763984d3ee3e802617544cb7fc7a:

  Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-and-python-021020-1' into staging (2020-10-02 13:39:20 +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 c508c73dca636cc0fc7413d1e4a43fcfe4a5698c:

  qcow2: Use L1E_SIZE in qcow2_write_l1_entry() (2020-10-02 15:46:40 +0200)

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

- Add block export infrastructure
- iotests improvements
- Document the throttle block filter
- Misc code cleanups

----------------------------------------------------------------
Alberto Garcia (2):
      docs: Document the throttle block filter
      qcow2: Use L1E_SIZE in qcow2_write_l1_entry()

Dr. David Alan Gilbert (1):
      qemu-io-cmds: Simplify help_oneline

Kevin Wolf (32):
      nbd: Remove unused nbd_export_get_blockdev()
      qapi: Create block-export module
      qapi: Rename BlockExport to BlockExportOptions
      block/export: Add BlockExport infrastructure and block-export-add
      qemu-storage-daemon: Use qmp_block_export_add()
      qemu-nbd: Use raw block driver for --offset
      block/export: Remove magic from block-export-add
      nbd: Add max-connections to nbd-server-start
      nbd: Add writethrough to block-export-add
      nbd: Remove NBDExport.close callback
      qemu-nbd: Use blk_exp_add() to create the export
      nbd/server: Simplify export shutdown
      block/export: Move refcount from NBDExport to BlockExport
      block/export: Move AioContext from NBDExport to BlockExport
      block/export: Add node-name to BlockExportOptions
      block/export: Allocate BlockExport in blk_exp_add()
      block/export: Add blk_exp_close_all(_type)
      block/export: Add 'id' option to block-export-add
      block/export: Move strong user reference to block_exports
      block/export: Add block-export-del
      block/export: Add BLOCK_EXPORT_DELETED event
      block/export: Move blk to BlockExport
      block/export: Create BlockBackend in blk_exp_add()
      block/export: Add query-block-exports
      block/export: Move writable to BlockExportOptions
      nbd: Merge nbd_export_new() and nbd_export_create()
      nbd: Deprecate nbd-server-add/remove
      iotests: Factor out qemu_tool_pipe_and_status()
      iotests: Introduce qemu_nbd_list_log()
      iotests: Allow supported and unsupported formats at the same time
      iotests: Test block-export-* QMP interface
      qemu-storage-daemon: Fix help line for --export

Philippe Mathieu-Daudé (1):
      block/sheepdog: Replace magic val by NANOSECONDS_PER_SECOND definition

Thomas Huth (1):
      tests/check-block: Do not run the iotests with old versions of bash

 qapi/block-core.json                 | 166 ------------------
 qapi/block-export.json               | 291 +++++++++++++++++++++++++++++++
 qapi/qapi-schema.json                |   1 +
 docs/system/deprecated.rst           |   6 +
 docs/throttle.txt                    | 108 +++++++++++-
 include/block/export.h               |  89 ++++++++++
 include/block/nbd.h                  |  22 +--
 block.c                              |   2 +-
 block/export/export.c                | 325 +++++++++++++++++++++++++++++++++++
 block/monitor/block-hmp-cmds.c       |  13 +-
 block/qcow2-cluster.c                |   4 +-
 block/sheepdog.c                     |   2 +-
 blockdev-nbd.c                       | 171 +++++++++---------
 nbd/server.c                         | 309 ++++++++++++++-------------------
 qemu-io-cmds.c                       |  11 +-
 qemu-nbd.c                           |  67 ++++----
 storage-daemon/qemu-storage-daemon.c |  27 +--
 tests/qemu-iotests/iotests.py        |  68 ++++----
 block/export/meson.build             |   1 +
 block/meson.build                    |   2 +
 meson.build                          |   2 +-
 qapi/meson.build                     |   4 +-
 storage-daemon/qapi/qapi-schema.json |   1 +
 tests/check-block.sh                 |   5 +
 tests/qemu-iotests/140               |   9 +-
 tests/qemu-iotests/140.out           |   2 +-
 tests/qemu-iotests/223.out           |   8 +-
 tests/qemu-iotests/307               | 132 ++++++++++++++
 tests/qemu-iotests/307.out           | 124 +++++++++++++
 tests/qemu-iotests/group             |   1 +
 30 files changed, 1428 insertions(+), 545 deletions(-)
 create mode 100644 qapi/block-export.json
 create mode 100644 include/block/export.h
 create mode 100644 block/export/export.c
 create mode 100644 block/export/meson.build
 create mode 100755 tests/qemu-iotests/307
 create mode 100644 tests/qemu-iotests/307.out

Comments

Peter Maydell Oct. 2, 2020, 6:11 p.m. UTC | #1
On Fri, 2 Oct 2020 at 15:44, Kevin Wolf <kwolf@redhat.com> wrote:
>

> The following changes since commit 0d2a4545bf7e763984d3ee3e802617544cb7fc7a:

>

>   Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-and-python-021020-1' into staging (2020-10-02 13:39:20 +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 c508c73dca636cc0fc7413d1e4a43fcfe4a5698c:

>

>   qcow2: Use L1E_SIZE in qcow2_write_l1_entry() (2020-10-02 15:46:40 +0200)

>

> ----------------------------------------------------------------

> Block layer patches:

>

> - Add block export infrastructure

> - iotests improvements

> - Document the throttle block filter

> - Misc code cleanups



Applied, thanks.

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

-- PMM