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

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



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

end of thread, other threads:[~2022-10-05 21:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-29  9:31 [PATCH v2 0/2] add zone append write for zoned device Sam Li
2022-09-29  9:31 ` [PATCH v2 1/2] file-posix: add the tracking of the zones wp Sam Li
2022-10-05  1:44   ` Damien Le Moal
2022-10-05  2:30     ` Damien Le Moal
2022-10-05  7:33     ` Damien Le Moal
2022-10-05  8:30       ` Sam Li
2022-10-05 21:20         ` Damien Le Moal
2022-09-29  9:31 ` [PATCH v2 2/2] block: introduce zone append write for zoned devices Sam Li
2022-10-05  1:54   ` Damien Le Moal

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).