From 52eb76f4b1ac040208275665b03da1fbee99c539 Mon Sep 17 00:00:00 2001 From: Sam Li Date: Mon, 8 May 2023 13:19:14 +0800 Subject: 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 Message-id: 20230508051916.178322-3-faithilikerun@gmail.com Signed-off-by: Stefan Hajnoczi --- include/block/accounting.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/block') 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, }; -- cgit v1.1