xref: /openbmc/linux/drivers/md/bcache/Kconfig (revision 7b6d864b)
1
2config BCACHE
3	tristate "Block device as cache"
4	---help---
5	Allows a block device to be used as cache for other devices; uses
6	a btree for indexing and the layout is optimized for SSDs.
7
8	See Documentation/bcache.txt for details.
9
10config BCACHE_DEBUG
11	bool "Bcache debugging"
12	depends on BCACHE
13	---help---
14	Don't select this option unless you're a developer
15
16	Enables extra debugging tools (primarily a fuzz tester)
17
18config BCACHE_EDEBUG
19	bool "Extended runtime checks"
20	depends on BCACHE
21	---help---
22	Don't select this option unless you're a developer
23
24	Enables extra runtime checks which significantly affect performance
25
26config BCACHE_CLOSURES_DEBUG
27	bool "Debug closures"
28	depends on BCACHE
29	select DEBUG_FS
30	---help---
31	Keeps all active closures in a linked list and provides a debugfs
32	interface to list them, which makes it possible to see asynchronous
33	operations that get stuck.
34
35# cgroup code needs to be updated:
36#
37#config CGROUP_BCACHE
38#	bool "Cgroup controls for bcache"
39#	depends on BCACHE && BLK_CGROUP
40#	---help---
41#	TODO
42