xref: /linux/fs/bcachefs/Kconfig (revision c035f0268b87fc21f517f638b3bad26c81babc85)
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	select MEAN_AND_VARIANCE
28	help
29	The bcachefs filesystem - a modern, copy on write filesystem, with
30	support for multiple devices, compression, checksumming, etc.
31
32config BCACHEFS_QUOTA
33	bool "bcachefs quota support"
34	depends on BCACHEFS_FS
35	select QUOTACTL
36
37config BCACHEFS_POSIX_ACL
38	bool "bcachefs POSIX ACL support"
39	depends on BCACHEFS_FS
40	select FS_POSIX_ACL
41
42config BCACHEFS_DEBUG_TRANSACTIONS
43	bool "bcachefs runtime info"
44	depends on BCACHEFS_FS
45	default y
46	help
47	This makes the list of running btree transactions available in debugfs.
48
49	This is a highly useful debugging feature but does add a small amount of overhead.
50
51config BCACHEFS_DEBUG
52	bool "bcachefs debugging"
53	depends on BCACHEFS_FS
54	help
55	Enables many extra debugging checks and assertions.
56
57	The resulting code will be significantly slower than normal; you
58	probably shouldn't select this option unless you're a developer.
59
60config BCACHEFS_TESTS
61	bool "bcachefs unit and performance tests"
62	depends on BCACHEFS_FS
63	help
64	Include some unit and performance tests for the core btree code
65
66config BCACHEFS_LOCK_TIME_STATS
67       bool "bcachefs lock time statistics"
68       depends on BCACHEFS_FS
69       help
70       Expose statistics for how long we held a lock in debugfs
71
72config BCACHEFS_NO_LATENCY_ACCT
73	bool "disable latency accounting and time stats"
74	depends on BCACHEFS_FS
75	help
76	This disables device latency tracking and time stats, only for performance testing
77
78config MEAN_AND_VARIANCE_UNIT_TEST
79	tristate "mean_and_variance unit tests" if !KUNIT_ALL_TESTS
80	depends on KUNIT
81	select MEAN_AND_VARIANCE
82	default KUNIT_ALL_TESTS
83	help
84	  This option enables the kunit tests for mean_and_variance module.
85	  If unsure, say N.
86