xref: /openbmc/linux/drivers/md/bcache/Kconfig (revision 930beb5a)
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, allows expensive runtime checks to be
17	turned on.
18
19config BCACHE_CLOSURES_DEBUG
20	bool "Debug closures"
21	depends on BCACHE
22	select DEBUG_FS
23	---help---
24	Keeps all active closures in a linked list and provides a debugfs
25	interface to list them, which makes it possible to see asynchronous
26	operations that get stuck.
27
28# cgroup code needs to be updated:
29#
30#config CGROUP_BCACHE
31#	bool "Cgroup controls for bcache"
32#	depends on BCACHE && BLK_CGROUP
33#	---help---
34#	TODO
35