Skip to content

Collection of various fio fixes and extensions V2

[email protected] fio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9fio: fix job clone mem leakinit.c+13 -20 replies
2/9fio: allow general repeatabilityfio.1 init.c options.c+19 -21 reply
3/9fio: allow milliseconds on all time specifiersbackend.c eta.c fio.1 +2 more+55 -291 reply
4/9fio: provide an option for a startdelay rangefio.1 fio.h init.c +1 more+37 -21 reply
5/9fio: add multi directory supportengines/net.c file.h filesetup.c +5 more+146 -310 replies
6/9fio: allow to combine terse output with any selected output typefio.1 fio.h init.c +1 more+27 -30 replies
7/9fio: flush log files on test endbackend.c iolog.h stat.c+50 -250 replies
8/9fio: fix last block never being touched by random offsetsio_u.c+1 -13 replies
9/9fio: allow 0 as compress percentageoptions.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/9] Collection of various fio fixes and extensions V2

*Resend with hopefully non mangled patches*

Hi,
we adopted fio as a very good tool back at version 1.57.
It suited our needs in replacing iozone with a more modern and more capable benchmarking tool.

As it is usually we needed a few little extensions to support the old use cases we wanted to migrate to the new benchmark. Also we found a few issues in the fio code that we had to fix.

All that happened a long time back and we always wanted to cotribute our changes to the project which after a loooong legal process now is finally possible. To make things worse the code was affected by some bit rot due to that legal waiting time which in turn stalled me making it ready for submission again.

I'm happy that I finally found some time to update the patches to match to the current fio git. It passed my 18 test cases which are based on the examples delivered with fio new for the new functionality added.

Looking forward to your review,
Christian

The patch series includes:
[patch 1/9] fio: fix job clone mem leak
[patch 2/9] fio: allow general repeatability
[patch 3/9] fio: allow milliseconds on all time specifiers [patch 4/9] fio: provide an option for a startdelay range [patch 5/9] fio: add multi directory support
[patch 6/9] fio: allow combined output (default and terse) [patch 7/9] fio: flush log files on test end
[patch 8/9] fio: fix last block never being touched by random offsets [patch 9/9] fio: allow 0 as compress percentage

 backend.c     |    5 +--
 engines/net.c |    2 -
 eta.c         |   14 +++++----
 file.h        |    8 ++++-
 filesetup.c   |   70 +++++++++++++++++++++++++++++++++++++++++-----
 fio.1         |   48 +++++++++++++++++++++++--------
 fio.h         |    6 +++
 init.c        |   64 +++++++++++++++++++++++++++++++++++++-----
 io_u.c        |    2 -
 iolog.c       |    2 -
 iolog.h       |    1 
 options.c     |   88 ++++++++++++++++++++++++++++++++++++++++++++++------------
 options.h     |    2 +
 parse.c       |   48 ++++++++++++++++++++++---------
 stat.c        |   83 ++++++++++++++++++++++++++++++++++++++----------------
 time.c        |    2 -
 16 files changed, 349 insertions(+), 96 deletions(-)