fio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] zbd: Support zone reset by trim
@ 2021-08-05  3:28 Shin'ichiro Kawasaki
  2021-08-05  3:28 ` [PATCH v2 1/5] zbd: Add min_bytes argument to zbd_find_zone() Shin'ichiro Kawasaki
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Shin'ichiro Kawasaki @ 2021-08-05  3:28 UTC (permalink / raw)
  To: fio, Jens Axboe
  Cc: Damien Le Moal, Dmitry Fomichev, Niklas Cassel, Shinichiro Kawasaki

Trim workload is currently not supported for zonemode=zbd. This patch series
enables it by resetting zones for trim I/Os. This allows fio to measure
performance of zoned block devices using more realistic workloads which mixes
write and trim.

The first patch prepares for trim support by modifying the helper function
zbd_find_zone(). The second patch adds zone reset for trim. The third patch
enables trim workload for libzbc I/O engine. The fourth patch adds a test
case that exercises trim operation with zonemode=zbd.

Changes from v1:
* Separated HOWTO/man changes from 2nd patch as 4th patch
* Reflected various comments on the list

Shin'ichiro Kawasaki (5):
  zbd: Add min_bytes argument to zbd_find_zone()
  zbd: Support zone reset by trim
  engines/libzbc: Enable trim for libzbc I/O engine
  HOWTO/man: Describe trim support by zone reset for zoned devices
  t/zbd: Add test #58 to test zone reset by trim workload

 HOWTO                  |  9 +++++
 engines/libzbc.c       | 13 ++++---
 fio.1                  |  4 +-
 io_u.c                 |  9 +++++
 t/zbd/test-zbd-support | 26 +++++++++++++
 zbd.c                  | 85 +++++++++++++++++++++++++++++++++++-------
 zbd.h                  |  2 +
 7 files changed, 127 insertions(+), 21 deletions(-)

-- 
2.31.1



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

end of thread, other threads:[~2021-08-06  1:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05  3:28 [PATCH v2 0/5] zbd: Support zone reset by trim Shin'ichiro Kawasaki
2021-08-05  3:28 ` [PATCH v2 1/5] zbd: Add min_bytes argument to zbd_find_zone() Shin'ichiro Kawasaki
2021-08-05  3:28 ` [PATCH v2 2/5] zbd: Support zone reset by trim Shin'ichiro Kawasaki
2021-08-05  3:28 ` [PATCH v2 3/5] engines/libzbc: Enable trim for libzbc I/O engine Shin'ichiro Kawasaki
2021-08-05  3:28 ` [PATCH v2 4/5] HOWTO/man: Describe trim support by zone reset for zoned devices Shin'ichiro Kawasaki
2021-08-05 19:04   ` Dmitry Fomichev
2021-08-05  3:28 ` [PATCH v2 5/5] t/zbd: Add test #58 to test zone reset by trim workload Shin'ichiro Kawasaki
2021-08-05 19:04 ` [PATCH v2 0/5] zbd: Support zone reset by trim Dmitry Fomichev
2021-08-06  1:06   ` Shinichiro Kawasaki

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