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