block: New option to define the intervals for collecting I/O statistics
authorAlberto Garcia <berto@igalia.com>
Wed, 28 Oct 2015 15:33:07 +0000 (17:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Nov 2015 15:22:46 +0000 (16:22 +0100)
commit2be5506fc85d5fef1abdb2128d446cb0b14b12bc
treeee078635b9ad2b7eabc67cb8a0f9d53a75fb9709
parent96e4dedaff9922f87e4ec351d51d3f093198382a
block: New option to define the intervals for collecting I/O statistics

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>
Message-id: 41cbcd334a61c6157f0f495cdfd21eff6c156f2a.1446044837.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
qapi/block-core.json