fio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] zbd: Support zone reset by trim
@ 2021-08-06  1:07 Shin'ichiro Kawasaki
  2021-08-06  1:07 ` [PATCH v3 1/5] zbd: Add min_bytes argument to zbd_find_zone() Shin'ichiro Kawasaki
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Shin'ichiro Kawasaki @ 2021-08-06  1:07 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 updates the HOWTO
file to describe the added functionality. The fifth patch adds a test case that
exercises trim operation with zonemode=zbd.

Changes from v2:
* Reflected comments on the cover letter and the 4th patch

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                  |  8 ++++
 engines/libzbc.c       | 13 ++++---
 fio.1                  |  9 +++--
 io_u.c                 |  9 +++++
 t/zbd/test-zbd-support | 26 +++++++++++++
 zbd.c                  | 85 +++++++++++++++++++++++++++++++++++-------
 zbd.h                  |  2 +
 7 files changed, 128 insertions(+), 24 deletions(-)

-- 
2.31.1



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

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

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

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