btrfs: simplify delayed ref tracepoints
authorJosef Bacik <josef@toxicpanda.com>
Sat, 13 Apr 2024 00:27:00 +0000 (20:27 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 May 2024 19:31:04 +0000 (21:31 +0200)
commit1bff6d4f873790cfc675afce9860208576508c5a
treec7a899e91abd0fae37d1470744d8be94e32ac4cc
parent0ea4703cc27e4e0f4fd8a9403ecae21a8879e7e0
btrfs: simplify delayed ref tracepoints

Now that all of the delayed ref information is in the delayed ref node,
drastically simplify the delayed ref tracepoints by simply passing in
the btrfs_delayed_ref_node and populating the tracepoints with the
values from the structure itself.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c
fs/btrfs/extent-tree.c
include/trace/events/btrfs.h