]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add tracepoints for ordered extents
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 9 Jun 2022 16:28:04 +0000 (09:28 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:34 +0000 (17:45 +0200)
commitec2ccb0e09fb9ca9ae0c1d01630fb2bf8733a0a7
tree24e39c815ce0a5a4cb96a7640ea0706e190622c6
parent4ad3bfe078a4e70c2ba2374d81b646b1dbb009f0
btrfs: add tracepoints for ordered extents

When debugging a reference counting issue with ordered extents, I've found
we're lacking a lot of tracepoint coverage in the ordered extent code.

Close these gaps by adding tracepoints after every refcount_inc() in the
ordered extent code.

Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ordered-data.c
include/trace/events/btrfs.h