mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
block: add accounting for merged requests
Signed-off-by: Peter Lieven <pl@kamp.de> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
35f5a49374
commit
f4564d53c6
7 changed files with 45 additions and 6 deletions
|
@ -407,13 +407,20 @@
|
|||
# growable sparse files (like qcow2) that are used on top
|
||||
# of a physical device.
|
||||
#
|
||||
# @rd_merged: Number of read requests that have been merged into another
|
||||
# request (Since 2.3).
|
||||
#
|
||||
# @wr_merged: Number of write requests that have been merged into another
|
||||
# request (Since 2.3).
|
||||
#
|
||||
# Since: 0.14.0
|
||||
##
|
||||
{ 'type': 'BlockDeviceStats',
|
||||
'data': {'rd_bytes': 'int', 'wr_bytes': 'int', 'rd_operations': 'int',
|
||||
'wr_operations': 'int', 'flush_operations': 'int',
|
||||
'flush_total_time_ns': 'int', 'wr_total_time_ns': 'int',
|
||||
'rd_total_time_ns': 'int', 'wr_highest_offset': 'int' } }
|
||||
'rd_total_time_ns': 'int', 'wr_highest_offset': 'int',
|
||||
'rd_merged': 'int', 'wr_merged': 'int' } }
|
||||
|
||||
##
|
||||
# @BlockStats:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue