summaryrefslogtreecommitdiff
path: root/fs/bcachefs/Kconfig
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-12-16 20:36:26 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:19 -0400
commitb84d42c31f34094c74d6306e11e3a0bc224c7575 (patch)
tree8d62edc2c574517751fe5820455a893be7cb821f /fs/bcachefs/Kconfig
parent51c4e406aa5706cdb224ff16eef1d560c504c3ac (diff)
bcachefs: Split out CONFIG_BCACHEFS_DEBUG_TRANSACTIONS
This puts the btree_transactions sysfs/debugfs file behind a separate config option - it's highly useful, but not cheap enough to enable permenantly. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/Kconfig')
-rw-r--r--fs/bcachefs/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig
index bfe7e6c9c064..d2eb65e9032b 100644
--- a/fs/bcachefs/Kconfig
+++ b/fs/bcachefs/Kconfig
@@ -35,6 +35,15 @@ config BCACHEFS_POSIX_ACL
depends on BCACHEFS_FS
select FS_POSIX_ACL
+config BCACHEFS_DEBUG_TRANSACTIONS
+ bool "bcachefs runtime info"
+ depends on BCACHEFS_FS
+ default y
+ help
+ This makes the list of running btree transactions available in debugfs.
+
+ This is a highly useful debugging feature but does add a small amount of overhead.
+
config BCACHEFS_DEBUG
bool "bcachefs debugging"
depends on BCACHEFS_FS