diff options
Diffstat (limited to 'fs/bcachefs/Kconfig')
-rw-r--r-- | fs/bcachefs/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig index 27742ce276cd..28b585223e89 100644 --- a/fs/bcachefs/Kconfig +++ b/fs/bcachefs/Kconfig @@ -22,6 +22,8 @@ config BCACHEFS_FS select XOR_BLOCKS select XXHASH select SRCU + select SYMBOLIC_ERRNAME + select MEAN_AND_VARIANCE help The bcachefs filesystem - a modern, copy on write filesystem, with support for multiple devices, compression, checksumming, etc. @@ -36,6 +38,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 @@ -50,3 +61,15 @@ config BCACHEFS_TESTS depends on BCACHEFS_FS help Include some unit and performance tests for the core btree code + +config BCACHEFS_LOCK_TIME_STATS + bool "bcachefs lock time statistics" + depends on BCACHEFS_FS + help + Expose statistics for how long we held a lock in debugfs + +config BCACHEFS_NO_LATENCY_ACCT + bool "disable latency accounting and time stats" + depends on BCACHEFS_FS + help + This disables device latency tracking and time stats, only for performance testing |