[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] add zone append write for zoned device
From: |
Sam Li |
Subject: |
[PATCH v2 0/2] add zone append write for zoned device |
Date: |
Thu, 29 Sep 2022 17:31:32 +0800 |
v2:
- split patch to two patches for better reviewing
- change BlockZoneWps's structure to an array of integers
- use only mutex lock on locking conditions of zone wps
- coding styles and clean-ups
v1:
- introduce zone append write
Sam Li (2):
file-posix: add the tracking of the zones wp
block: introduce zone append write for zoned devices
block/block-backend.c | 65 ++++++++++
block/file-posix.c | 189 ++++++++++++++++++++++++++++-
block/io.c | 21 ++++
block/raw-format.c | 7 ++
include/block/block-common.h | 16 +++
include/block/block-io.h | 3 +
include/block/block_int-common.h | 8 ++
include/block/raw-aio.h | 4 +-
include/sysemu/block-backend-io.h | 9 ++
qemu-io-cmds.c | 62 ++++++++++
tests/qemu-iotests/tests/zoned.out | 7 ++
tests/qemu-iotests/tests/zoned.sh | 9 ++
12 files changed, 396 insertions(+), 4 deletions(-)
--
2.37.3
- [PATCH v2 0/2] add zone append write for zoned device,
Sam Li <=