qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add zone append write for zoned device
@ 2022-10-16 14:56 Sam Li
  2022-10-16 14:56 ` [PATCH v4 1/3] file-posix: add the tracking of the zones write pointers Sam Li
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Sam Li @ 2022-10-16 14:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: stefanha, dmitry.fomichev, Hanna Reitz, Kevin Wolf, Fam Zheng,
	damien.lemoal, hare, qemu-block, Sam Li

v4:
- fix lock related issues[Damien]
- drop all field in zone_mgmt op [Damien]
- fix state checks in zong_mgmt command [Damien]
- return start sector of wp when issuing zap req [Damien]

v3:
- only read wps when it is locked [Damien]
- allow last smaller zone case [Damien]
- add zone type and state checks in zone_mgmt command [Damien]
- fix RESET_ALL related problems

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 (3):
  file-posix: add the tracking of the zones write pointers
  block: introduce zone append write for zoned devices
  qemu-iotests: test zone append operation

 block/block-backend.c              |  65 ++++++++
 block/file-posix.c                 | 229 ++++++++++++++++++++++++++++-
 block/io.c                         |  21 +++
 block/raw-format.c                 |   8 +
 include/block/block-common.h       |  14 ++
 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                     |  63 ++++++++
 tests/qemu-iotests/tests/zoned.out |   7 +
 tests/qemu-iotests/tests/zoned.sh  |   9 ++
 12 files changed, 436 insertions(+), 4 deletions(-)

-- 
2.37.3



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-18  9:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-16 14:56 [PATCH v4 0/3] Add zone append write for zoned device Sam Li
2022-10-16 14:56 ` [PATCH v4 1/3] file-posix: add the tracking of the zones write pointers Sam Li
2022-10-17  0:57   ` Dmitry Fomichev
2022-10-17  5:11   ` Damien Le Moal
2022-10-16 14:56 ` [PATCH v4 2/3] block: introduce zone append write for zoned devices Sam Li
2022-10-17  0:58   ` Dmitry Fomichev
2022-10-17  5:22   ` Damien Le Moal
2022-10-18  8:48     ` Sam Li
2022-10-16 14:56 ` [PATCH v4 3/3] qemu-iotests: test zone append operation Sam Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).