[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 00/30] Block patches
From: |
Max Reitz |
Subject: |
[PULL 00/30] Block patches |
Date: |
Fri, 18 Dec 2020 16:12:19 +0100 |
The following changes since commit 75ee62ac606bfc9eb59310b9446df3434bf6e8c2:
Merge remote-tracking branch 'remotes/ehabkost-gl/tags/x86-next-pull-request'
into staging (2020-12-17 18:53:36 +0000)
are available in the Git repository at:
https://github.com/XanClic/qemu.git tags/pull-block-2020-12-18
for you to fetch changes up to 0e72078128229bf9efb542e396ab44bf91b91340:
iotests: Fix _send_qemu_cmd with bash 5.1 (2020-12-18 12:47:38 +0100)
----------------------------------------------------------------
Block patches:
- New block filter: preallocate (which, on writes beyond an image file's
end, allocates big chunks of data so that such post-EOF writes will
occur less frequently)
- write-zeroes and block-status support for Quorum
- Implementation of truncate for the nvme block driver similarly to the
existing implementations for host block devices and iscsi devices
- Block layer refactoring: Drop the tighten_restrictions concept in the
block permission functions
- iotest fixes
----------------------------------------------------------------
Alberto Garcia (2):
quorum: Implement bdrv_co_block_status()
quorum: Implement bdrv_co_pwrite_zeroes()
Max Reitz (2):
iotests/102: Pass $QEMU_HANDLE to _send_qemu_cmd
iotests: Fix _send_qemu_cmd with bash 5.1
Philippe Mathieu-Daudé (1):
block/nvme: Implement fake truncate() coroutine
Vladimir Sementsov-Ogievskiy (25):
block: add bdrv_refresh_perms() helper
block: bdrv_set_perm() drop redundant parameters.
block: bdrv_child_set_perm() drop redundant parameters.
block: drop tighten_restrictions
block: simplify comment to BDRV_REQ_SERIALISING
block/io.c: drop assertion on double waiting for request serialisation
block/io: split out bdrv_find_conflicting_request
block/io: bdrv_wait_serialising_requests_locked: drop extra bs arg
block: bdrv_mark_request_serialising: split non-waiting function
block: introduce BDRV_REQ_NO_WAIT flag
block: bdrv_check_perm(): process children anyway
block: introduce preallocate filter
qemu-io: add preallocate mode parameter for truncate command
iotests: qemu_io_silent: support --image-opts
iotests.py: execute_setup_common(): add required_fmts argument
iotests: add 298 to test new preallocate filter driver
scripts/simplebench: fix grammar: s/successed/succeeded/
scripts/simplebench: support iops
scripts/simplebench: use standard deviation for +- error
simplebench: rename ascii() to results_to_text()
simplebench: move results_to_text() into separate file
simplebench/results_to_text: improve view of the table
simplebench/results_to_text: add difference line to the table
simplebench/results_to_text: make executable
scripts/simplebench: add bench_prealloc.py
docs/system/qemu-block-drivers.rst.inc | 26 ++
qapi/block-core.json | 20 +-
include/block/block.h | 20 +-
include/block/block_int.h | 3 +-
block.c | 185 +++-----
block/file-posix.c | 2 +-
block/io.c | 130 +++---
block/nvme.c | 24 ++
block/preallocate.c | 559 +++++++++++++++++++++++++
block/quorum.c | 88 +++-
qemu-io-cmds.c | 46 +-
block/meson.build | 1 +
scripts/simplebench/bench-example.py | 3 +-
scripts/simplebench/bench_prealloc.py | 132 ++++++
scripts/simplebench/bench_write_req.py | 3 +-
scripts/simplebench/results_to_text.py | 126 ++++++
scripts/simplebench/simplebench.py | 66 ++-
tests/qemu-iotests/085.out | 167 ++++++--
tests/qemu-iotests/094.out | 10 +-
tests/qemu-iotests/095.out | 4 +-
tests/qemu-iotests/102 | 2 +-
tests/qemu-iotests/102.out | 2 +-
tests/qemu-iotests/109.out | 88 +++-
tests/qemu-iotests/117.out | 13 +-
tests/qemu-iotests/127.out | 12 +-
tests/qemu-iotests/140.out | 10 +-
tests/qemu-iotests/141.out | 128 ++++--
tests/qemu-iotests/143.out | 4 +-
tests/qemu-iotests/144.out | 28 +-
tests/qemu-iotests/153.out | 18 +-
tests/qemu-iotests/156.out | 39 +-
tests/qemu-iotests/161.out | 18 +-
tests/qemu-iotests/173.out | 25 +-
tests/qemu-iotests/182.out | 42 +-
tests/qemu-iotests/183.out | 19 +-
tests/qemu-iotests/185.out | 45 +-
tests/qemu-iotests/191.out | 12 +-
tests/qemu-iotests/223.out | 92 ++--
tests/qemu-iotests/229.out | 13 +-
tests/qemu-iotests/249.out | 16 +-
tests/qemu-iotests/298 | 186 ++++++++
tests/qemu-iotests/298.out | 5 +
tests/qemu-iotests/308.out | 103 ++++-
tests/qemu-iotests/312 | 159 +++++++
tests/qemu-iotests/312.out | 81 ++++
tests/qemu-iotests/common.qemu | 11 +-
tests/qemu-iotests/group | 2 +
tests/qemu-iotests/iotests.py | 16 +-
48 files changed, 2357 insertions(+), 447 deletions(-)
create mode 100644 block/preallocate.c
create mode 100755 scripts/simplebench/bench_prealloc.py
create mode 100755 scripts/simplebench/results_to_text.py
create mode 100644 tests/qemu-iotests/298
create mode 100644 tests/qemu-iotests/298.out
create mode 100755 tests/qemu-iotests/312
create mode 100644 tests/qemu-iotests/312.out
--
2.29.2
- [PULL 00/30] Block patches,
Max Reitz <=
- [PULL 02/30] block: bdrv_set_perm() drop redundant parameters., Max Reitz, 2020/12/18
- [PULL 01/30] block: add bdrv_refresh_perms() helper, Max Reitz, 2020/12/18
- [PULL 03/30] block: bdrv_child_set_perm() drop redundant parameters., Max Reitz, 2020/12/18
- [PULL 04/30] block: drop tighten_restrictions, Max Reitz, 2020/12/18
- [PULL 07/30] block/io: split out bdrv_find_conflicting_request, Max Reitz, 2020/12/18
- [PULL 06/30] block/io.c: drop assertion on double waiting for request serialisation, Max Reitz, 2020/12/18
- [PULL 09/30] block: bdrv_mark_request_serialising: split non-waiting function, Max Reitz, 2020/12/18
- [PULL 08/30] block/io: bdrv_wait_serialising_requests_locked: drop extra bs arg, Max Reitz, 2020/12/18
- [PULL 05/30] block: simplify comment to BDRV_REQ_SERIALISING, Max Reitz, 2020/12/18
- [PULL 10/30] block: introduce BDRV_REQ_NO_WAIT flag, Max Reitz, 2020/12/18