xref: /linux/fs/bcachefs/Kconfig (revision 8b8eed05a1c650c27e78bc47d07f7d6c9ba779e8)
1
2config BCACHEFS_FS
3	tristate "bcachefs filesystem support (EXPERIMENTAL)"
4	depends on BLOCK
5	select EXPORTFS
6	select CLOSURES
7	select LIBCRC32C
8	select CRC64
9	select FS_POSIX_ACL
10	select LZ4_COMPRESS
11	select LZ4_DECOMPRESS
12	select LZ4HC_COMPRESS
13	select LZ4HC_DECOMPRESS
14	select ZLIB_DEFLATE
15	select ZLIB_INFLATE
16	select ZSTD_COMPRESS
17	select ZSTD_DECOMPRESS
18	select CRYPTO_SHA256
19	select CRYPTO_CHACHA20
20	select CRYPTO_POLY1305
21	select KEYS
22	select RAID6_PQ
23	select XOR_BLOCKS
24	select XXHASH
25	select SRCU
26	select SYMBOLIC_ERRNAME
27	help
28	The bcachefs filesystem - a modern, copy on write filesystem, with
29	support for multiple devices, compression, checksumming, etc.
30
31config BCACHEFS_QUOTA
32	bool "bcachefs quota support"
33	depends on BCACHEFS_FS
34	select QUOTACTL
35
36config BCACHEFS_POSIX_ACL
37	bool "bcachefs POSIX ACL support"
38	depends on BCACHEFS_FS
39	select FS_POSIX_ACL
40
41config BCACHEFS_DEBUG_TRANSACTIONS
42	bool "bcachefs runtime info"
43	depends on BCACHEFS_FS
44	help
45	This makes the list of running btree transactions available in debugfs.
46
47	This is a highly useful debugging feature but does add a small amount of overhead.
48
49config BCACHEFS_DEBUG
50	bool "bcachefs debugging"
51	depends on BCACHEFS_FS
52	help
53	Enables many extra debugging checks and assertions.
54
55	The resulting code will be significantly slower than normal; you
56	probably shouldn't select this option unless you're a developer.
57
58config BCACHEFS_TESTS
59	bool "bcachefs unit and performance tests"
60	depends on BCACHEFS_FS
61	help
62	Include some unit and performance tests for the core btree code
63
64config BCACHEFS_LOCK_TIME_STATS
65       bool "bcachefs lock time statistics"
66       depends on BCACHEFS_FS
67       help
68       Expose statistics for how long we held a lock in debugfs
69
70config BCACHEFS_NO_LATENCY_ACCT
71	bool "disable latency accounting and time stats"
72	depends on BCACHEFS_FS
73	help
74	This disables device latency tracking and time stats, only for performance testing
75
76config MEAN_AND_VARIANCE_UNIT_TEST
77	tristate "mean_and_variance unit tests" if !KUNIT_ALL_TESTS
78	depends on KUNIT
79	depends on BCACHEFS_FS
80	default KUNIT_ALL_TESTS
81	help
82	  This option enables the kunit tests for mean_and_variance module.
83	  If unsure, say N.
84