Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Damien Le Moal <dlemoal@kernel.org>
To: fio@vger.kernel.org, Vincent Fu <vincentfu@gmail.com>,
	Jens Axboe <axboe@kernel.dk>
Subject: [PATCH v2 0/3] Cleanup and fix iolog replay
Date: Wed,  2 Dec 2026 11:13:21 +0900	[thread overview]
Message-ID: <20261202021324.419440-1-dlemoal@kernel.org> (raw)

Jens, Vincent,

The first patch is a small cleanup of read_iolog().  The second patch
avoids potential int overflow while calculating the number of iolog items
to read.  The final patch fixes an issue with replaying low-IOPS iologs
leading to workloads prematurely ending before an iolog file is fully
replayed.

Changes from v1:
 - Added patch 2
 - Corrected typos in patch 3 commit message

Damien Le Moal (3):
  iolog: refactor read_iolog()
  iolog: avoid potential overflows in iolog_items_to_fetch()
  iolog: fix iolog_items_to_fetch()

 iolog.c | 44 +++++++++++++++++++++++++++-----------------
 1 file changed, 27 insertions(+), 17 deletions(-)

-- 
2.56.1


             reply	other threads:[~2026-12-02  2:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  2:13 Damien Le Moal [this message]
2026-12-02  2:13 ` [PATCH v2 1/3] iolog: refactor read_iolog() Damien Le Moal
2026-12-02  2:13 ` [PATCH v2 2/3] iolog: avoid potential overflows in iolog_items_to_fetch() Damien Le Moal
2026-12-02  2:13 ` [PATCH v2 3/3] iolog: fix iolog_items_to_fetch() Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202021324.419440-1-dlemoal@kernel.org \
    --to=dlemoal@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=vincentfu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox