Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: shoichi.sawada@toshiba.co.jp, fio@vger.kernel.org
Cc: yoshihiro7.tsuchiya@toshiba.co.jp
Subject: Re: Fix runtime of terse output
Date: Wed, 23 Dec 2015 09:03:09 -0700	[thread overview]
Message-ID: <567AC5BD.8060600@kernel.dk> (raw)
In-Reply-To: <64F25A0F43FA9948AF74033DC846D09D6B730876@TGXML313.toshiba.local>

On 12/22/2015 01:16 AM, shoichi.sawada@toshiba.co.jp wrote:
> Hi,
> 
> When I used fio with option of '--status-interval=1 --minimal' and 'random_distribution=zipf:1.2',
> 'runtime' of 2nd line was 18446744073709551345.
> This value is -271 in int_64.
> 
> This is because 'runtime' was subtracted in function '__show_running_run_stats'.
> If 'td->io_bytes' is 0 when this function was called,
> and 'td->io_bytes' is not 0 when '__show_run_stats' returned,
> 'runtime' is subtracted by 'rt' even though 'runtime' have not added.
> 
> I fixed the problem by applying this patch to fio-2.2.13.

Thanks, applied.

-- 
Jens Axboe



      reply	other threads:[~2015-12-23 16:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  8:16 Fix runtime of terse output shoichi.sawada
2015-12-23 16:03 ` Jens Axboe [this message]

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=567AC5BD.8060600@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=shoichi.sawada@toshiba.co.jp \
    --cc=yoshihiro7.tsuchiya@toshiba.co.jp \
    /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