Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH v2 0/7] zbd: clean up code and fix bugs for open zones accounting
@ 2023-06-08  7:06 Shin'ichiro Kawasaki
  2023-06-08  7:06 ` [PATCH v2 1/7] zbd: rename 'open zones' to 'write zones' Shin'ichiro Kawasaki
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Shin'ichiro Kawasaki @ 2023-06-08  7:06 UTC (permalink / raw)
  To: fio, Jens Axboe, Vincent Fu
  Cc: Damien Le Moal, Dmitry Fomichev, Niklas Cassel,
	Shin'ichiro Kawasaki

Fio with zonemode=zbd does accounting of 'open zones'. However, the meaning of
'open zone' is confusing because its definition is similar but different
between fio and zoned block devices. The first patch in this series avoids the
confusion by renaming the word 'open zone' to 'write zone'.

Also, recently three bugs were found related to the open zones accounting.
Following three patches fix the bugs. The last three patches improve test cases
corresponding to the fixes.

Changes from v1:
* Reflected review comments on the 4th patch
* Added Reviewed-by tags

Shin'ichiro Kawasaki (7):
  zbd: rename 'open zones' to 'write zones'
  zbd: do not reset extra zones in open conditions
  zbd: fix write zone accounting of almost full zones
  zbd: fix write zone accounting of trim workload
  t/zbd: reset zones before tests with max_open_zones option
  t/zbd: test write zone accounting of almost full zones
  t/zbd: test write zone accounting of trim workload

 engines/io_uring.c     |   2 +-
 fio.h                  |   2 +-
 io_u.c                 |   2 +-
 io_u.h                 |   2 +-
 options.c              |   4 +-
 t/zbd/test-zbd-support |  64 ++++++++-
 zbd.c                  | 292 ++++++++++++++++++++++++-----------------
 zbd.h                  |  25 ++--
 zbd_types.h            |   2 +-
 9 files changed, 248 insertions(+), 147 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2023-06-10  0:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-08  7:06 [PATCH v2 0/7] zbd: clean up code and fix bugs for open zones accounting Shin'ichiro Kawasaki
2023-06-08  7:06 ` [PATCH v2 1/7] zbd: rename 'open zones' to 'write zones' Shin'ichiro Kawasaki
2023-06-08  7:06 ` [PATCH v2 2/7] zbd: do not reset extra zones in open conditions Shin'ichiro Kawasaki
2023-06-08  7:06 ` [PATCH v2 3/7] zbd: fix write zone accounting of almost full zones Shin'ichiro Kawasaki
2023-06-08  7:06 ` [PATCH v2 4/7] zbd: fix write zone accounting of trim workload Shin'ichiro Kawasaki
2023-06-08  8:14   ` Niklas Cassel
2023-06-08  7:06 ` [PATCH v2 5/7] t/zbd: reset zones before tests with max_open_zones option Shin'ichiro Kawasaki
2023-06-08  7:06 ` [PATCH v2 6/7] t/zbd: test write zone accounting of almost full zones Shin'ichiro Kawasaki
2023-06-08  7:06 ` [PATCH v2 7/7] t/zbd: test write zone accounting of trim workload Shin'ichiro Kawasaki
2023-06-08 18:45 ` [PATCH v2 0/7] zbd: clean up code and fix bugs for open zones accounting Vincent Fu
2023-06-08 19:10   ` Jens Axboe
2023-06-09  3:09     ` Shinichiro Kawasaki
2023-06-09 13:48       ` Vincent Fu
2023-06-10  0:10         ` Shinichiro Kawasaki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox