From: Jens Axboe <axboe@kernel.dk>
To: linux-btrace@vger.kernel.org
Subject: Re: [PATCH] blkiomon: Fix an output error.
Date: Fri, 14 Jan 2011 08:07:48 +0000 [thread overview]
Message-ID: <4D300454.9000301@kernel.dk> (raw)
In-Reply-To: <1294991770-16405-1-git-send-email-tm@tao.ma>
On 2011-01-14 08:56, Tao Ma wrote:
> From: Tao Ma <boyu.mt@taobao.com>
>
> When we give out some statistics in blkiomon, we don't consider
> the situation that the device has no correspoinding action. See
> if there is no disk read during the interval, the output in my box is
> like:
> sizes read (bytes): num 0, min -1, max 0, sum 0, squ 0, avg nan, var nan
>
> With the fix, now it looks like:
> sizes read (bytes): num 0, min -1, max 0, sum 0, squ 0, avg 0.0, var 0.0
Thanks, applied!
--
Jens Axboe
prev parent reply other threads:[~2011-01-14 8:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-14 7:56 [PATCH] blkiomon: Fix an output error Tao Ma
2011-01-14 8:07 ` 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=4D300454.9000301@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-btrace@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).