[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v3 0/5] *** Add support for zoned device ***
From: |
Sam Li |
Subject: |
[RFC v3 0/5] *** Add support for zoned device *** |
Date: |
Mon, 27 Jun 2022 08:19:12 +0800 |
*** 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.
v3:
- add block layer APIs resembling Linux ZoneBlockDevice ioctls (developing) ***
Sam Li (5):
block: add block layer APIs resembling Linux ZonedBlockDevice ioctls.
qemu-io: add zoned block device operations.
file-posix: introduce get_sysfs_long_val for zoned device information.
file-posix: introduce get_sysfs_str_val for device zoned model.
qemu-iotests: add zone operation tests.
block/block-backend.c | 56 +++++
block/coroutines.h | 5 +
block/file-posix.c | 325 +++++++++++++++++++++++++++++-
block/io.c | 21 ++
include/block/block-common.h | 43 +++-
include/block/block-io.h | 13 ++
include/block/block_int-common.h | 20 ++
qemu-io-cmds.c | 121 +++++++++++
tests/qemu-iotests/tests/zoned.sh | 49 +++++
9 files changed, 645 insertions(+), 8 deletions(-)
create mode 100755 tests/qemu-iotests/tests/zoned.sh
--
2.35.3
- [RFC v3 0/5] *** Add support for zoned device ***,
Sam Li <=
- [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Sam Li, 2022/06/26
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Hannes Reinecke, 2022/06/27
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Stefan Hajnoczi, 2022/06/28
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Sam Li, 2022/06/28
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Damien Le Moal, 2022/06/28
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Sam Li, 2022/06/28
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Damien Le Moal, 2022/06/28
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Sam Li, 2022/06/28
- Re: [RFC v3 1/5] block: add block layer APIs resembling Linux ZonedBlockDevice ioctls., Damien Le Moal, 2022/06/28