[PULL 0/9] Block layer fixes for 8.2.0-rc1

Kevin Wolf posted 9 patches 1 year ago
Failed in applying to current master (apply log)
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Ari Sundholm <ari@tuxera.com>, Stefan Hajnoczi <stefanha@redhat.com>, Alberto Garcia <berto@igalia.com>, Wen Congyang <wencongyang2@huawei.com>, Xie Changlong <xiechanglong.d@gmail.com>, Fam Zheng <fam@euphon.net>, Cleber Rosa <crosa@redhat.com>
include/block/graph-lock.h                    | 15 ++++-
include/hw/ide/internal.h                     |  3 +
include/hw/ide/pci.h                          |  1 +
block.c                                       | 39 ++++++++-----
block/backup.c                                |  2 +-
block/blklogwrites.c                          |  4 +-
block/blkverify.c                             |  2 +-
block/block-backend.c                         | 12 +++-
block/commit.c                                | 10 ++--
block/graph-lock.c                            | 23 +++++++-
block/mirror.c                                | 14 ++---
block/qcow2.c                                 |  2 +-
block/quorum.c                                |  4 +-
block/replication.c                           | 10 ++--
block/snapshot.c                              |  2 +-
block/stream.c                                | 10 ++--
block/vmdk.c                                  | 10 ++--
blockdev.c                                    |  4 +-
blockjob.c                                    |  8 +--
hw/ide/ahci.c                                 | 27 ++++++++-
hw/ide/core.c                                 | 12 ++++
hw/ide/ioport.c                               | 12 ----
hw/ide/pci.c                                  | 84 +++++++++++++++++++++++++++
hw/ide/via.c                                  | 44 +++++++++++---
tests/unit/test-bdrv-drain.c                  | 20 +++----
tests/unit/test-bdrv-graph-mod.c              | 10 ++--
scripts/block-coroutine-wrapper.py            |  2 +-
tests/qemu-iotests/tests/iothreads-stream     | 74 +++++++++++++++++++++++
tests/qemu-iotests/tests/iothreads-stream.out | 11 ++++
29 files changed, 374 insertions(+), 97 deletions(-)
create mode 100755 tests/qemu-iotests/tests/iothreads-stream
create mode 100644 tests/qemu-iotests/tests/iothreads-stream.out
[PULL 0/9] Block layer fixes for 8.2.0-rc1
Posted by Kevin Wolf 1 year ago
The following changes since commit af9264da80073435fd78944bc5a46e695897d7e5:

  Merge tag '20231119-xtensa-1' of https://github.com/OSLL/qemu-xtensa into staging (2023-11-20 05:25:19 -0500)

are available in the Git repository at:

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

for you to fetch changes up to debb4911667b1f8213ca8760ae83afcf3b3579e0:

  hw/ide/via: implement legacy/native mode switching (2023-11-21 12:45:21 +0100)

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

- Fix graph lock related deadlocks with the stream job
- ahci: Fix legacy software reset
- ide/via: Fix switch between compatibility and native mode

----------------------------------------------------------------
Kevin Wolf (4):
      block: Fix bdrv_graph_wrlock() call in blk_remove_bs()
      block: Fix deadlocks in bdrv_graph_wrunlock()
      stream: Fix AioContext locking during bdrv_graph_wrlock()
      iotests: Test two stream jobs in a single iothread

Mark Cave-Ayland (4):
      ide/ioport: move ide_portio_list[] and ide_portio_list2[] definitions to IDE core
      ide/pci: introduce pci_ide_update_mode() function
      ide/via: don't attempt to set default BAR addresses
      hw/ide/via: implement legacy/native mode switching

Niklas Cassel (1):
      hw/ide/ahci: fix legacy software reset

 include/block/graph-lock.h                    | 15 ++++-
 include/hw/ide/internal.h                     |  3 +
 include/hw/ide/pci.h                          |  1 +
 block.c                                       | 39 ++++++++-----
 block/backup.c                                |  2 +-
 block/blklogwrites.c                          |  4 +-
 block/blkverify.c                             |  2 +-
 block/block-backend.c                         | 12 +++-
 block/commit.c                                | 10 ++--
 block/graph-lock.c                            | 23 +++++++-
 block/mirror.c                                | 14 ++---
 block/qcow2.c                                 |  2 +-
 block/quorum.c                                |  4 +-
 block/replication.c                           | 10 ++--
 block/snapshot.c                              |  2 +-
 block/stream.c                                | 10 ++--
 block/vmdk.c                                  | 10 ++--
 blockdev.c                                    |  4 +-
 blockjob.c                                    |  8 +--
 hw/ide/ahci.c                                 | 27 ++++++++-
 hw/ide/core.c                                 | 12 ++++
 hw/ide/ioport.c                               | 12 ----
 hw/ide/pci.c                                  | 84 +++++++++++++++++++++++++++
 hw/ide/via.c                                  | 44 +++++++++++---
 tests/unit/test-bdrv-drain.c                  | 20 +++----
 tests/unit/test-bdrv-graph-mod.c              | 10 ++--
 scripts/block-coroutine-wrapper.py            |  2 +-
 tests/qemu-iotests/tests/iothreads-stream     | 74 +++++++++++++++++++++++
 tests/qemu-iotests/tests/iothreads-stream.out | 11 ++++
 29 files changed, 374 insertions(+), 97 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/iothreads-stream
 create mode 100644 tests/qemu-iotests/tests/iothreads-stream.out
Re: [PULL 0/9] Block layer fixes for 8.2.0-rc1
Posted by Stefan Hajnoczi 1 year ago
Applied, thanks.

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