[PULL v2 00/20] Block layer patches

Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220624154103.185902-1-kwolf@redhat.com
Maintainers: John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Eric Blake <eblake@redhat.com>, Xie Yongji <xieyongji@bytedance.com>, Coiby Xu <Coiby.Xu@gmail.com>, Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>, Ilya Dryomov <idryomov@gmail.com>, Peter Lieven <pl@kamp.de>, "Michael S. Tsirkin" <mst@redhat.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony Perard <anthony.perard@citrix.com>, Paul Durrant <paul@xen.org>, Paolo Bonzini <pbonzini@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
qapi/block-export.json                      |   29 +-
docs/tools/qemu-storage-daemon.rst          |   22 +
meson_options.txt                           |    4 +
block/export/vduse-blk.h                    |   20 +
block/export/virtio-blk-handler.h           |   37 +
include/block/aio-wait.h                    |    2 +
include/block/block-io.h                    |    1 -
include/block/block_int-io.h                |    2 +-
include/qemu/hbitmap.h                      |   15 +-
include/sysemu/block-backend-io.h           |    1 -
linux-headers/linux/vduse.h                 |  306 ++++++
subprojects/libvduse/include/atomic.h       |    1 +
subprojects/libvduse/include/compiler.h     |    1 +
subprojects/libvduse/libvduse.h             |  247 +++++
block/backup.c                              |    6 +-
block/block-backend.c                       |   12 +-
block/dirty-bitmap.c                        |   26 +-
block/export/export.c                       |    6 +
block/export/vduse-blk.c                    |  374 ++++++++
block/export/vhost-user-blk-server.c        |  263 +----
block/export/virtio-blk-handler.c           |  240 +++++
block/gluster.c                             |    2 +-
block/io.c                                  |   15 -
block/monitor/bitmap-qmp-cmds.c             |   40 +-
block/nbd.c                                 |    8 +-
block/rbd.c                                 |   24 +
hw/block/virtio-blk.c                       |    1 -
hw/block/xen-block.c                        |    1 -
hw/ide/core.c                               |    1 -
hw/scsi/scsi-disk.c                         |    1 -
hw/scsi/scsi-generic.c                      |    1 -
storage-daemon/qemu-storage-daemon.c        |   10 +
subprojects/libvduse/libvduse.c             | 1375 +++++++++++++++++++++++++++
util/aio-wait.c                             |   16 +-
util/hbitmap.c                              |   25 +-
MAINTAINERS                                 |    9 +
block/export/meson.build                    |    7 +-
meson.build                                 |   34 +
scripts/meson-buildoptions.sh               |    7 +
scripts/update-linux-headers.sh             |    2 +-
subprojects/libvduse/linux-headers/linux    |    1 +
subprojects/libvduse/meson.build            |   10 +
subprojects/libvduse/standard-headers/linux |    1 +
43 files changed, 2852 insertions(+), 354 deletions(-)
create mode 100644 block/export/vduse-blk.h
create mode 100644 block/export/virtio-blk-handler.h
create mode 100644 linux-headers/linux/vduse.h
create mode 120000 subprojects/libvduse/include/atomic.h
create mode 120000 subprojects/libvduse/include/compiler.h
create mode 100644 subprojects/libvduse/libvduse.h
create mode 100644 block/export/vduse-blk.c
create mode 100644 block/export/virtio-blk-handler.c
create mode 100644 subprojects/libvduse/libvduse.c
create mode 120000 subprojects/libvduse/linux-headers/linux
create mode 100644 subprojects/libvduse/meson.build
create mode 120000 subprojects/libvduse/standard-headers/linux
[PULL v2 00/20] Block layer patches
Posted by Kevin Wolf 2 years, 10 months ago
The following changes since commit 3a821c52e1a30ecd9a436f2c67cc66b5628c829f:

  Merge tag 'nvme-next-pull-request' of git://git.infradead.org/qemu-nvme into staging (2022-06-23 14:52:30 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 779d82e1d305f2a9cbd7f48cf6555ad58145e04a:

  vduse-blk: Add name option (2022-06-24 17:07:06 +0200)

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

- Add vduse-blk export
- Dirty bitmaps: Fix and improve bitmap merge
- gluster: correctly set max_pdiscard
- rbd: report a better error when namespace does not exist
- aio_wait_kick: add missing memory barrier
- Code cleanups

----------------------------------------------------------------
Emanuele Giuseppe Esposito (1):
      aio_wait_kick: add missing memory barrier

Eric Blake (1):
      nbd: Drop dead code spotted by Coverity

Fabian Ebner (1):
      block/gluster: correctly set max_pdiscard

Stefan Hajnoczi (3):
      block: drop unused bdrv_co_drain() API
      block: get rid of blk->guest_block_size
      qsd: document vduse-blk exports

Stefano Garzarella (1):
      block/rbd: report a better error when namespace does not exist

Vladimir Sementsov-Ogievskiy (3):
      block: block_dirty_bitmap_merge(): fix error path
      block: improve block_dirty_bitmap_merge(): don't allocate extra bitmap
      block: simplify handling of try to merge different sized bitmaps

Xie Yongji (10):
      block: Support passing NULL ops to blk_set_dev_ops()
      block/export: Fix incorrect length passed to vu_queue_push()
      block/export: Abstract out the logic of virtio-blk I/O process
      linux-headers: Add vduse.h
      libvduse: Add VDUSE (vDPA Device in Userspace) library
      vduse-blk: Implement vduse-blk export
      vduse-blk: Add vduse-blk resize support
      libvduse: Add support for reconnecting
      vduse-blk: Add serial option
      vduse-blk: Add name option

 qapi/block-export.json                      |   29 +-
 docs/tools/qemu-storage-daemon.rst          |   22 +
 meson_options.txt                           |    4 +
 block/export/vduse-blk.h                    |   20 +
 block/export/virtio-blk-handler.h           |   37 +
 include/block/aio-wait.h                    |    2 +
 include/block/block-io.h                    |    1 -
 include/block/block_int-io.h                |    2 +-
 include/qemu/hbitmap.h                      |   15 +-
 include/sysemu/block-backend-io.h           |    1 -
 linux-headers/linux/vduse.h                 |  306 ++++++
 subprojects/libvduse/include/atomic.h       |    1 +
 subprojects/libvduse/include/compiler.h     |    1 +
 subprojects/libvduse/libvduse.h             |  247 +++++
 block/backup.c                              |    6 +-
 block/block-backend.c                       |   12 +-
 block/dirty-bitmap.c                        |   26 +-
 block/export/export.c                       |    6 +
 block/export/vduse-blk.c                    |  374 ++++++++
 block/export/vhost-user-blk-server.c        |  263 +----
 block/export/virtio-blk-handler.c           |  240 +++++
 block/gluster.c                             |    2 +-
 block/io.c                                  |   15 -
 block/monitor/bitmap-qmp-cmds.c             |   40 +-
 block/nbd.c                                 |    8 +-
 block/rbd.c                                 |   24 +
 hw/block/virtio-blk.c                       |    1 -
 hw/block/xen-block.c                        |    1 -
 hw/ide/core.c                               |    1 -
 hw/scsi/scsi-disk.c                         |    1 -
 hw/scsi/scsi-generic.c                      |    1 -
 storage-daemon/qemu-storage-daemon.c        |   10 +
 subprojects/libvduse/libvduse.c             | 1375 +++++++++++++++++++++++++++
 util/aio-wait.c                             |   16 +-
 util/hbitmap.c                              |   25 +-
 MAINTAINERS                                 |    9 +
 block/export/meson.build                    |    7 +-
 meson.build                                 |   34 +
 scripts/meson-buildoptions.sh               |    7 +
 scripts/update-linux-headers.sh             |    2 +-
 subprojects/libvduse/linux-headers/linux    |    1 +
 subprojects/libvduse/meson.build            |   10 +
 subprojects/libvduse/standard-headers/linux |    1 +
 43 files changed, 2852 insertions(+), 354 deletions(-)
 create mode 100644 block/export/vduse-blk.h
 create mode 100644 block/export/virtio-blk-handler.h
 create mode 100644 linux-headers/linux/vduse.h
 create mode 120000 subprojects/libvduse/include/atomic.h
 create mode 120000 subprojects/libvduse/include/compiler.h
 create mode 100644 subprojects/libvduse/libvduse.h
 create mode 100644 block/export/vduse-blk.c
 create mode 100644 block/export/virtio-blk-handler.c
 create mode 100644 subprojects/libvduse/libvduse.c
 create mode 120000 subprojects/libvduse/linux-headers/linux
 create mode 100644 subprojects/libvduse/meson.build
 create mode 120000 subprojects/libvduse/standard-headers/linux
Re: [PULL v2 00/20] Block layer patches
Posted by Richard Henderson 2 years, 10 months ago
On 6/24/22 08:40, Kevin Wolf wrote:
> The following changes since commit 3a821c52e1a30ecd9a436f2c67cc66b5628c829f:
> 
>    Merge tag 'nvme-next-pull-request' of git://git.infradead.org/qemu-nvme into staging (2022-06-23 14:52:30 -0700)
> 
> are available in the Git repository at:
> 
>    git://repo.or.cz/qemu/kevin.git tags/for-upstream
> 
> for you to fetch changes up to 779d82e1d305f2a9cbd7f48cf6555ad58145e04a:
> 
>    vduse-blk: Add name option (2022-06-24 17:07:06 +0200)
> 
> ----------------------------------------------------------------
> Block layer patches
> 
> - Add vduse-blk export
> - Dirty bitmaps: Fix and improve bitmap merge
> - gluster: correctly set max_pdiscard
> - rbd: report a better error when namespace does not exist
> - aio_wait_kick: add missing memory barrier
> - Code cleanups

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.


r~



> 
> ----------------------------------------------------------------
> Emanuele Giuseppe Esposito (1):
>        aio_wait_kick: add missing memory barrier
> 
> Eric Blake (1):
>        nbd: Drop dead code spotted by Coverity
> 
> Fabian Ebner (1):
>        block/gluster: correctly set max_pdiscard
> 
> Stefan Hajnoczi (3):
>        block: drop unused bdrv_co_drain() API
>        block: get rid of blk->guest_block_size
>        qsd: document vduse-blk exports
> 
> Stefano Garzarella (1):
>        block/rbd: report a better error when namespace does not exist
> 
> Vladimir Sementsov-Ogievskiy (3):
>        block: block_dirty_bitmap_merge(): fix error path
>        block: improve block_dirty_bitmap_merge(): don't allocate extra bitmap
>        block: simplify handling of try to merge different sized bitmaps
> 
> Xie Yongji (10):
>        block: Support passing NULL ops to blk_set_dev_ops()
>        block/export: Fix incorrect length passed to vu_queue_push()
>        block/export: Abstract out the logic of virtio-blk I/O process
>        linux-headers: Add vduse.h
>        libvduse: Add VDUSE (vDPA Device in Userspace) library
>        vduse-blk: Implement vduse-blk export
>        vduse-blk: Add vduse-blk resize support
>        libvduse: Add support for reconnecting
>        vduse-blk: Add serial option
>        vduse-blk: Add name option
> 
>   qapi/block-export.json                      |   29 +-
>   docs/tools/qemu-storage-daemon.rst          |   22 +
>   meson_options.txt                           |    4 +
>   block/export/vduse-blk.h                    |   20 +
>   block/export/virtio-blk-handler.h           |   37 +
>   include/block/aio-wait.h                    |    2 +
>   include/block/block-io.h                    |    1 -
>   include/block/block_int-io.h                |    2 +-
>   include/qemu/hbitmap.h                      |   15 +-
>   include/sysemu/block-backend-io.h           |    1 -
>   linux-headers/linux/vduse.h                 |  306 ++++++
>   subprojects/libvduse/include/atomic.h       |    1 +
>   subprojects/libvduse/include/compiler.h     |    1 +
>   subprojects/libvduse/libvduse.h             |  247 +++++
>   block/backup.c                              |    6 +-
>   block/block-backend.c                       |   12 +-
>   block/dirty-bitmap.c                        |   26 +-
>   block/export/export.c                       |    6 +
>   block/export/vduse-blk.c                    |  374 ++++++++
>   block/export/vhost-user-blk-server.c        |  263 +----
>   block/export/virtio-blk-handler.c           |  240 +++++
>   block/gluster.c                             |    2 +-
>   block/io.c                                  |   15 -
>   block/monitor/bitmap-qmp-cmds.c             |   40 +-
>   block/nbd.c                                 |    8 +-
>   block/rbd.c                                 |   24 +
>   hw/block/virtio-blk.c                       |    1 -
>   hw/block/xen-block.c                        |    1 -
>   hw/ide/core.c                               |    1 -
>   hw/scsi/scsi-disk.c                         |    1 -
>   hw/scsi/scsi-generic.c                      |    1 -
>   storage-daemon/qemu-storage-daemon.c        |   10 +
>   subprojects/libvduse/libvduse.c             | 1375 +++++++++++++++++++++++++++
>   util/aio-wait.c                             |   16 +-
>   util/hbitmap.c                              |   25 +-
>   MAINTAINERS                                 |    9 +
>   block/export/meson.build                    |    7 +-
>   meson.build                                 |   34 +
>   scripts/meson-buildoptions.sh               |    7 +
>   scripts/update-linux-headers.sh             |    2 +-
>   subprojects/libvduse/linux-headers/linux    |    1 +
>   subprojects/libvduse/meson.build            |   10 +
>   subprojects/libvduse/standard-headers/linux |    1 +
>   43 files changed, 2852 insertions(+), 354 deletions(-)
>   create mode 100644 block/export/vduse-blk.h
>   create mode 100644 block/export/virtio-blk-handler.h
>   create mode 100644 linux-headers/linux/vduse.h
>   create mode 120000 subprojects/libvduse/include/atomic.h
>   create mode 120000 subprojects/libvduse/include/compiler.h
>   create mode 100644 subprojects/libvduse/libvduse.h
>   create mode 100644 block/export/vduse-blk.c
>   create mode 100644 block/export/virtio-blk-handler.c
>   create mode 100644 subprojects/libvduse/libvduse.c
>   create mode 120000 subprojects/libvduse/linux-headers/linux
>   create mode 100644 subprojects/libvduse/meson.build
>   create mode 120000 subprojects/libvduse/standard-headers/linux
> 
>