This patch series adds support for zoned device to virtio-blk emulation. Zoned
Storage can support sequential writes, which reduces write amplification in SSD,
leading to higher write throughput and increased capacity.
v4:
- add block layer APIs (revision)
- add configurations for zoned block device
Sam Li (9):
block: add block layer APIs resembling Linux ZonedBlockDevice ioctls.
qemu-io: add zoned block device operations.
file-posix: introduce get_sysfs_long_val for a block queue of sysfs
attribute
file-posix: introduce get_sysfs_str_val for device zoned model.
qemu-iotests: test new zone operations.
raw-format: add zone operations
config: add check to block layer
include: add support for zoned block devices
qapi: add support for zoned host device
block.c | 7 +
block/block-backend.c | 41 +++
block/coroutines.h | 5 +
block/file-posix.c | 334 +++++++++++++++++++-
block/io.c | 57 ++++
block/raw-format.c | 13 +
include/block/block-common.h | 43 ++-
include/block/block-io.h | 13 +
include/block/block_int-common.h | 25 ++
include/standard-headers/linux/virtio_blk.h | 157 ++++++++-
qapi/block-core.json | 7 +-
qemu-io-cmds.c | 143 +++++++++
tests/qemu-iotests/tests/zoned.sh | 69 ++++
13 files changed, 888 insertions(+), 26 deletions(-)
create mode 100755 tests/qemu-iotests/tests/zoned.sh
--
2.36.1