From: Eric Blake <eblake@redhat.com>
To: Alberto Garcia <berto@igalia.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
qemu-block@nongnu.org, Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v4 10/21] block: New option to define the intervals for collecting I/O statistics
Date: Tue, 10 Nov 2015 10:27:25 -0700 [thread overview]
Message-ID: <564228FD.5080209@redhat.com> (raw)
In-Reply-To: <41cbcd334a61c6157f0f495cdfd21eff6c156f2a.1446044837.git.berto@igalia.com>
[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]
On 10/28/2015 09:33 AM, Alberto Garcia wrote:
> The BlockAcctStats structure contains a list of BlockAcctTimedStats.
> Each one of these collects statistics about the minimum, maximum and
> average latencies of all I/O operations in a certain interval of time.
>
> This patch adds a new "stats-intervals" option that allows defining
> these intervals.
>
> Signed-off-by: Alberto Garcia <berto@igalia.com>
> ---
> blockdev.c | 37 +++++++++++++++++++++++++++++++++++++
> qapi/block-core.json | 4 ++++
> 2 files changed, 41 insertions(+)
> +++ b/qapi/block-core.json
> @@ -1503,6 +1503,9 @@
> # @stats-account-failed: #optional whether to include failed
> # operations when computing latency and last
> # access statistics (default: true) (Since 2.5)
> +# @stats-intervals: #optional colon-separated list of intervals for
> +# collecting I/O statistics, in seconds (default: none)
> +# (Since 2.5)
> # @detect-zeroes: #optional detect and optimize zero writes (Since 2.1)
> # (default: off)
> #
> @@ -1520,6 +1523,7 @@
> '*read-only': 'bool',
> '*stats-account-invalid': 'bool',
> '*stats-account-failed': 'bool',
> + '*stats-intervals': 'str',
My fault for not reviewing this change to a .json file prior to the PULL
request, but I think this should be '*stats-intervals':['int'] so that
we aren't post-processing to parse out colons.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2015-11-10 17:27 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 15:32 [Qemu-devel] [PATCH v4 00/21] Extended I/O accounting Alberto Garcia
2015-10-28 15:32 ` [Qemu-devel] [PATCH v4 01/21] xen_disk: Account for flush operations Alberto Garcia
2015-10-28 15:32 ` [Qemu-devel] [PATCH v4 02/21] ide: Account for write operations correctly Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 03/21] block: define 'clock_type' for the accounting code Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 04/21] util: Infrastructure for computing recent averages Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 05/21] block: Add idle_time_ns to BlockDeviceStats Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 06/21] block: Add statistics for failed and invalid I/O operations Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 07/21] block: Allow configuring whether to account failed and invalid ops Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 08/21] block: Compute minimum, maximum and average I/O latencies Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 09/21] block: Add average I/O queue depth to BlockDeviceTimedStats Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 10/21] block: New option to define the intervals for collecting I/O statistics Alberto Garcia
2015-11-10 17:27 ` Eric Blake [this message]
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 11/21] qemu-io: Account for failed, invalid and flush operations Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 12/21] block: Use QEMU_CLOCK_VIRTUAL for the accounting code in qtest mode Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 13/21] iotests: Add test for the block device statistics Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 14/21] nvme: Account for failed and invalid operations Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 15/21] virtio-blk: " Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 16/21] xen_disk: " Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 17/21] atapi: " Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 18/21] ide: " Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 19/21] macio: Account for failed operations Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 20/21] scsi-disk: " Alberto Garcia
2015-10-28 15:33 ` [Qemu-devel] [PATCH v4 21/21] block: Update copyright of the accounting code Alberto Garcia
2015-11-10 15:07 ` [Qemu-devel] [PATCH v4 00/21] Extended I/O accounting Stefan Hajnoczi
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=564228FD.5080209@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=berto@igalia.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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;
as well as URLs for NNTP newsgroup(s).