summaryrefslogtreecommitdiff
path: root/fs/bcachefs/trace.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-03-30 16:04:02 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:58 -0400
commit3d86f13df67b554a7b27e28a4b144425710409bf (patch)
treef291e3c4608fab33b75b9d0a51ce6cbf8d83807b /fs/bcachefs/trace.c
parent25d8f40560e75aea107b0e773f8712931173ded6 (diff)
downloadlwn-3d86f13df67b554a7b27e28a4b144425710409bf.tar.gz
lwn-3d86f13df67b554a7b27e28a4b144425710409bf.zip
bcachefs: Improve trans_restart_split_race tracepoint
Seeing occasional test failures where we get stuck in a livelock that involves this event - this will help track it down. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/trace.c')
-rw-r--r--fs/bcachefs/trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/trace.c b/fs/bcachefs/trace.c
index 5c1d724cbb55..33efa6005c6f 100644
--- a/fs/bcachefs/trace.c
+++ b/fs/bcachefs/trace.c
@@ -2,8 +2,10 @@
#include "bcachefs.h"
#include "alloc_types.h"
#include "buckets.h"
+#include "btree_cache.h"
#include "btree_iter.h"
#include "btree_locking.h"
+#include "btree_update_interior.h"
#include "keylist.h"
#include "opts.h"
#include "six.h"