]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
qapi: add block latency histogram interface
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 9 Mar 2018 16:52:12 +0000 (19:52 +0300)
committerEric Blake <eblake@redhat.com>
Mon, 19 Mar 2018 19:58:38 +0000 (14:58 -0500)
commit7e5c776d15b1fc0cda00c255ba035bdf81dbaa31
treed73be2a0219f3c27bcb7a60cd235234613581509
parentb741ae74170643de0fec3005c717e3a397c3e034
qapi: add block latency histogram interface

Set (and clear) histograms through new command
block-latency-histogram-set and show new statistics in
query-blockstats results.

For now, the command is marked experimental with prefix 'x-',
to gain experience with the interface without being stuck
with design decisions.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180309165212.97144-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[eblake: fix typos, mention x- prefix in commit message]
Signed-off-by: Eric Blake <eblake@redhat.com>
block/qapi.c
blockdev.c
qapi/block-core.json