Thread (28 messages) 28 messages, 2 authors, 2025-10-01
STALE276d
Revisions (5)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]

[PATCH blktrace v2 20/22] blkparse: parse zone management commands

From: Johannes Thumshirn <hidden>
Date: 2025-09-25 15:05:59
Also in: linux-block, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Parse management commands in blkparse.

Signed-off-by: Johannes Thumshirn <redacted>
---
 blkparse.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/blkparse.c b/blkparse.c
index 76c775b..af6f0d7 100644
--- a/blkparse.c
+++ b/blkparse.c
@@ -1651,6 +1651,9 @@ static void dump_trace_pc(struct blk_io_trace2 *t, struct per_dev_info *pdi,
 		case __BLK_TA_INSERT:
 			log_pc(pci, t, "I");
 			break;
+		case __BLK_TA_ZONE_MGMT:
+			log_action(pci, t, "ZM");
+			break;
 		default:
 			fprintf(stderr, "Bad pc action %x\n", act);
 			break;
@@ -1729,6 +1732,9 @@ static void dump_trace_fs(struct blk_io_trace2 *t, struct per_dev_info *pdi,
 			account_unplug(t, pci, 0);
 			log_unplug(pci, t, "ZU");
 			break;
+		case __BLK_TA_ZONE_MGMT:
+			log_action(pci, t, "ZM");
+			break;
 		case __BLK_TA_SPLIT:
 			log_track_split(pdi, t);
 			log_split(pci, t, "X");
-- 
2.51.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help