Introduce pass-through block stats

Signed-off-by: Sara Merzel <sara.merzel@huawei.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Sara Merzel
2023-02-22 11:27:55 -05:00
committed by Michal Mielewczyk
parent 3ebf6e64c1
commit 835eb708b5
8 changed files with 62 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#
# Copyright(c) 2019-2021 Intel Corporation
# Copyright(c) 2024 Huawei Technologies
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -73,6 +74,9 @@ class BlocksStats(Structure):
("volume_rd", _Stat),
("volume_wr", _Stat),
("volume_total", _Stat),
("pt_rd", _Stat),
("pt_wr", _Stat),
("pt_total", _Stat),
]