mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
qapi: add unmap to BlockDeviceStats
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20190923121737.83281-3-anton.nefedov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
329d27e38c
commit
159f85ddc8
4 changed files with 48 additions and 6 deletions
|
@ -15,6 +15,8 @@ Testing: -drive driver=null-co,read-zeroes=on,if=virtio
|
|||
{
|
||||
"device": "virtio0",
|
||||
"stats": {
|
||||
"unmap_operations": 0,
|
||||
"unmap_merged": 0,
|
||||
"flush_total_time_ns": 0,
|
||||
"wr_highest_offset": 0,
|
||||
"wr_total_time_ns": 0,
|
||||
|
@ -24,13 +26,17 @@ Testing: -drive driver=null-co,read-zeroes=on,if=virtio
|
|||
"wr_bytes": 0,
|
||||
"timed_stats": [
|
||||
],
|
||||
"failed_unmap_operations": 0,
|
||||
"failed_flush_operations": 0,
|
||||
"account_invalid": true,
|
||||
"rd_total_time_ns": 0,
|
||||
"invalid_unmap_operations": 0,
|
||||
"flush_operations": 0,
|
||||
"wr_operations": 0,
|
||||
"unmap_bytes": 0,
|
||||
"rd_merged": 0,
|
||||
"rd_bytes": 0,
|
||||
"unmap_total_time_ns": 0,
|
||||
"invalid_flush_operations": 0,
|
||||
"account_failed": true,
|
||||
"rd_operations": 0,
|
||||
|
@ -74,6 +80,8 @@ Testing: -drive driver=null-co,if=none
|
|||
{
|
||||
"device": "none0",
|
||||
"stats": {
|
||||
"unmap_operations": 0,
|
||||
"unmap_merged": 0,
|
||||
"flush_total_time_ns": 0,
|
||||
"wr_highest_offset": 0,
|
||||
"wr_total_time_ns": 0,
|
||||
|
@ -83,13 +91,17 @@ Testing: -drive driver=null-co,if=none
|
|||
"wr_bytes": 0,
|
||||
"timed_stats": [
|
||||
],
|
||||
"failed_unmap_operations": 0,
|
||||
"failed_flush_operations": 0,
|
||||
"account_invalid": true,
|
||||
"rd_total_time_ns": 0,
|
||||
"invalid_unmap_operations": 0,
|
||||
"flush_operations": 0,
|
||||
"wr_operations": 0,
|
||||
"unmap_bytes": 0,
|
||||
"rd_merged": 0,
|
||||
"rd_bytes": 0,
|
||||
"unmap_total_time_ns": 0,
|
||||
"invalid_flush_operations": 0,
|
||||
"account_failed": true,
|
||||
"rd_operations": 0,
|
||||
|
@ -163,6 +175,8 @@ Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-b
|
|||
{
|
||||
"device": "",
|
||||
"stats": {
|
||||
"unmap_operations": 0,
|
||||
"unmap_merged": 0,
|
||||
"flush_total_time_ns": 0,
|
||||
"wr_highest_offset": 0,
|
||||
"wr_total_time_ns": 0,
|
||||
|
@ -172,13 +186,17 @@ Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-b
|
|||
"wr_bytes": 0,
|
||||
"timed_stats": [
|
||||
],
|
||||
"failed_unmap_operations": 0,
|
||||
"failed_flush_operations": 0,
|
||||
"account_invalid": false,
|
||||
"rd_total_time_ns": 0,
|
||||
"invalid_unmap_operations": 0,
|
||||
"flush_operations": 0,
|
||||
"wr_operations": 0,
|
||||
"unmap_bytes": 0,
|
||||
"rd_merged": 0,
|
||||
"rd_bytes": 0,
|
||||
"unmap_total_time_ns": 0,
|
||||
"invalid_flush_operations": 0,
|
||||
"account_failed": false,
|
||||
"rd_operations": 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue