[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 00/25] Block layer patches
From: |
Kevin Wolf |
Subject: |
[PULL 00/25] Block layer patches |
Date: |
Tue, 25 Apr 2023 15:13:34 +0200 |
The following changes since commit ac5f7bf8e208cd7893dbb1a9520559e569a4677c:
Merge tag 'migration-20230424-pull-request' of
https://gitlab.com/juan.quintela/qemu into staging (2023-04-24 15:00:39 +0100)
are available in the Git repository at:
https://repo.or.cz/qemu/kevin.git tags/for-upstream
for you to fetch changes up to 8c1e8fb2e7fc2cbeb57703e143965a4cd3ad301a:
block/monitor: Fix crash when executing HMP commit (2023-04-25 15:11:57 +0200)
----------------------------------------------------------------
Block layer patches
- Protect BlockBackend.queued_requests with its own lock
- Switch to AIO_WAIT_WHILE_UNLOCKED() where possible
- AioContext removal: LinuxAioState/LuringState/ThreadPool
- Add more coroutine_fn annotations, use bdrv/blk_co_*
- Fix crash when execute hmp_commit
----------------------------------------------------------------
Emanuele Giuseppe Esposito (4):
linux-aio: use LinuxAioState from the running thread
io_uring: use LuringState from the running thread
thread-pool: use ThreadPool from the running thread
thread-pool: avoid passing the pool parameter every time
Paolo Bonzini (9):
vvfat: mark various functions as coroutine_fn
blkdebug: add missing coroutine_fn annotation
mirror: make mirror_flush a coroutine_fn, do not use co_wrappers
nbd: mark more coroutine_fns, do not use co_wrappers
9pfs: mark more coroutine_fns
qemu-pr-helper: mark more coroutine_fns
tests: mark more coroutine_fns
qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCK
vmdk: make vmdk_is_cid_valid a coroutine_fn
Stefan Hajnoczi (10):
block: make BlockBackend->quiesce_counter atomic
block: make BlockBackend->disable_request_queuing atomic
block: protect BlockBackend->queued_requests with a lock
block: don't acquire AioContext lock in bdrv_drain_all()
block: convert blk_exp_close_all_type() to AIO_WAIT_WHILE_UNLOCKED()
block: convert bdrv_graph_wrlock() to AIO_WAIT_WHILE_UNLOCKED()
block: convert bdrv_drain_all_begin() to AIO_WAIT_WHILE_UNLOCKED()
hmp: convert handle_hmp_command() to AIO_WAIT_WHILE_UNLOCKED()
monitor: convert monitor_cleanup() to AIO_WAIT_WHILE_UNLOCKED()
block: add missing coroutine_fn to bdrv_sum_allocated_file_size()
Wang Liang (1):
block/monitor: Fix crash when executing HMP commit
Wilfred Mallawa (1):
include/block: fixup typos
block/qcow2.h | 15 +++++-----
hw/9pfs/9p.h | 4 +--
include/block/aio-wait.h | 2 +-
include/block/aio.h | 8 ------
include/block/block_int-common.h | 2 +-
include/block/raw-aio.h | 33 +++++++++++++++-------
include/block/thread-pool.h | 15 ++++++----
include/sysemu/block-backend-io.h | 5 ++++
backends/tpm/tpm_backend.c | 4 +--
block.c | 2 +-
block/blkdebug.c | 4 +--
block/block-backend.c | 45 ++++++++++++++++++------------
block/export/export.c | 2 +-
block/file-posix.c | 45 ++++++++++++------------------
block/file-win32.c | 4 +--
block/graph-lock.c | 2 +-
block/io.c | 2 +-
block/io_uring.c | 23 ++++++++++------
block/linux-aio.c | 29 ++++++++++++--------
block/mirror.c | 4 +--
block/monitor/block-hmp-cmds.c | 10 ++++---
block/qcow2-bitmap.c | 2 +-
block/qcow2-cluster.c | 21 ++++++++------
block/qcow2-refcount.c | 8 +++---
block/qcow2-snapshot.c | 25 +++++++++--------
block/qcow2-threads.c | 3 +-
block/qcow2.c | 27 +++++++++---------
block/vmdk.c | 2 +-
block/vvfat.c | 58 ++++++++++++++++++++-------------------
hw/9pfs/codir.c | 6 ++--
hw/9pfs/coth.c | 3 +-
hw/ppc/spapr_nvdimm.c | 6 ++--
hw/virtio/virtio-pmem.c | 3 +-
monitor/hmp.c | 2 +-
monitor/monitor.c | 4 +--
nbd/server.c | 48 ++++++++++++++++----------------
scsi/pr-manager.c | 3 +-
scsi/qemu-pr-helper.c | 25 ++++++++---------
tests/unit/test-thread-pool.c | 14 ++++------
util/thread-pool.c | 25 ++++++++---------
40 files changed, 283 insertions(+), 262 deletions(-)
- [PULL 00/25] Block layer patches,
Kevin Wolf <=
- [PULL 01/25] block: make BlockBackend->quiesce_counter atomic, Kevin Wolf, 2023/04/25
- [PULL 02/25] block: make BlockBackend->disable_request_queuing atomic, Kevin Wolf, 2023/04/25
- [PULL 04/25] block: don't acquire AioContext lock in bdrv_drain_all(), Kevin Wolf, 2023/04/25
- [PULL 03/25] block: protect BlockBackend->queued_requests with a lock, Kevin Wolf, 2023/04/25
- [PULL 08/25] hmp: convert handle_hmp_command() to AIO_WAIT_WHILE_UNLOCKED(), Kevin Wolf, 2023/04/25
- [PULL 09/25] monitor: convert monitor_cleanup() to AIO_WAIT_WHILE_UNLOCKED(), Kevin Wolf, 2023/04/25
- [PULL 07/25] block: convert bdrv_drain_all_begin() to AIO_WAIT_WHILE_UNLOCKED(), Kevin Wolf, 2023/04/25
- [PULL 06/25] block: convert bdrv_graph_wrlock() to AIO_WAIT_WHILE_UNLOCKED(), Kevin Wolf, 2023/04/25
- [PULL 10/25] include/block: fixup typos, Kevin Wolf, 2023/04/25
- [PULL 11/25] block: add missing coroutine_fn to bdrv_sum_allocated_file_size(), Kevin Wolf, 2023/04/25