[PATCH v2 0/2] stat: improve zone reset count reporting

Shin'ichiro Kawasaki <[email protected]> Thu, 9 Oct 2025 11:39:26 +0900
Newsgroups org.kernel.vger.fio
Message-ID <[email protected]>
When the zbd zonemode is specified, write or trim workloads can trigger
zone resets. Fio tracks the count of zone resets and includes the
information in its reports. However, current implementation has two
problems. Firstly, the zone reset count is reported even when the zbd
zonemode is not specified. For non-zbd zonemode, the zone reset count is
meaningless. Secondly, the zone reset count is not reported when the
json output format is specified. This series resolves these two problems
with two patches respectively.

Changes from v1:
* 1st patch: bumped up FIO_SERVER_VER

Shin'ichiro Kawasaki (2):
  stat: report zone reset count only when zonemode is set to zbd
  stat: report zone reset count in json output format

 client.c |  4 +++-
 server.c |  4 +++-
 server.h |  2 +-
 stat.c   | 11 +++++++++--
 stat.h   |  9 +++++----
 zbd.c    |  4 ++++
 6 files changed, 25 insertions(+), 9 deletions(-)

-- 
2.49.0