summaryrefslogtreecommitdiff
path: root/fs/bcachefs/Kconfig
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-21 12:01:50 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:14:29 -0400
commit0499a82b18b5ddee0d97d2cfcae0c0120f858c1f (patch)
treee5f726d0895d64ce70cf1e2170c72f0cbb92646e /fs/bcachefs/Kconfig
parentd49bafdc5d1659171d988888ebfc773629f8ca97 (diff)
bcachefs: Async object debugging
Debugging infrastructure for async objs: this lets us easily create fast_lists for various object types so they'll be visible in debugfs. Add new object types to the BCH_ASYNC_OBJS_TYPES() enum, and drop a pretty-printer wrapper in async_objs.c. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/Kconfig')
-rw-r--r--fs/bcachefs/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig
index a14e4a60b187..8cb2b9d5da96 100644
--- a/fs/bcachefs/Kconfig
+++ b/fs/bcachefs/Kconfig
@@ -107,6 +107,10 @@ config BCACHEFS_TRANS_KMALLOC_TRACE
bool "Trace bch2_trans_kmalloc() calls"
depends on BCACHEFS_FS
+config BCACHEFS_ASYNC_OBJECT_LISTS
+ bool "Keep async objects on fast_lists for debugfs visibility"
+ depends on BCACHEFS_FS && DEBUG_FS
+
config MEAN_AND_VARIANCE_UNIT_TEST
tristate "mean_and_variance unit tests" if !KUNIT_ALL_TESTS
depends on KUNIT