aboutsummaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorSam Li <faithilikerun@gmail.com>2023-05-08 13:19:14 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2023-05-15 08:18:10 -0400
commit52eb76f4b1ac040208275665b03da1fbee99c539 (patch)
tree15d50595f7ce61b7875d79fea847c70c78a45411 /include/block
parent4f7366506a96c862c796d4ea1913110d9c341e7d (diff)
downloadqemu-52eb76f4b1ac040208275665b03da1fbee99c539.zip
qemu-52eb76f4b1ac040208275665b03da1fbee99c539.tar.gz
qemu-52eb76f4b1ac040208275665b03da1fbee99c539.tar.bz2
block: add accounting for zone append operation
Taking account of the new zone append write operation for zoned devices, BLOCK_ACCT_ZONE_APPEND enum is introduced as other I/O request type (read, write, flush). Signed-off-by: Sam Li <faithilikerun@gmail.com> Message-id: 20230508051916.178322-3-faithilikerun@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/accounting.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/accounting.h b/include/block/accounting.h
index b9caad6..a59e39f 100644
--- a/include/block/accounting.h
+++ b/include/block/accounting.h
@@ -37,6 +37,7 @@ enum BlockAcctType {
BLOCK_ACCT_READ,
BLOCK_ACCT_WRITE,
BLOCK_ACCT_FLUSH,
+ BLOCK_ACCT_ZONE_APPEND,
BLOCK_ACCT_UNMAP,
BLOCK_MAX_IOTYPE,
};