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

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              |  64 +++++++++
 block/file-posix.c                 | 216 ++++++++++++++++++++++++++++-
 block/io.c                         |  21 +++
 block/raw-format.c                 |   7 +
 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                     |  62 +++++++++
 tests/qemu-iotests/tests/zoned.out |   7 +
 tests/qemu-iotests/tests/zoned.sh  |   9 ++
 12 files changed, 420 insertions(+), 4 deletions(-)

-- 
2.37.3



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

end of thread, other threads:[~2022-10-13  8:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10  2:33 [PATCH v3 0/3] Add zone append write for zoned device Sam Li
2022-10-10  2:33 ` [PATCH v3 1/3] file-posix:add the tracking of the zones write pointers Sam Li
2022-10-13  5:13   ` Damien Le Moal
2022-10-13  7:08     ` Sam Li
2022-10-13  7:30       ` Damien Le Moal
2022-10-13  7:46         ` Sam Li
2022-10-10  2:33 ` [PATCH v3 2/3] block: introduce zone append write for zoned devices Sam Li
2022-10-13  5:54   ` Damien Le Moal
2022-10-13  7:27     ` Sam Li
2022-10-13  7:45       ` Damien Le Moal
2022-10-10  2:33 ` [PATCH v3 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).