]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
btrfs: zoned: decode 'RECLAIM_ZONES' state in tracepoints
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Fri, 22 May 2026 09:02:44 +0000 (11:02 +0200)
committerFilipe Manana <fdmanana@suse.com>
Tue, 9 Jun 2026 10:49:26 +0000 (11:49 +0100)
Decode the 'RECLAIM_ZONES' state in tracepoints, as of now only the
numerical state is shown in the tracepoints.

Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/trace/events/btrfs.h

index 726ca4ddb4d86a9e720af3468ceea4b1da3cf51b..4c5c47c5edb745ba31add161568cd5f764ba492b 100644 (file)
@@ -114,6 +114,7 @@ struct btrfs_log_ctx;
        EM( ALLOC_CHUNK_FORCE,          "ALLOC_CHUNK_FORCE")            \
        EM( RUN_DELAYED_IPUTS,          "RUN_DELAYED_IPUTS")            \
        EM( COMMIT_TRANS,               "COMMIT_TRANS")                 \
+       EM( RECLAIM_ZONES,              "RECLAIM_ZONES")                \
        EMe(RESET_ZONES,                "RESET_ZONES")
 
 #define TRANSACTION_STATES                                                     \