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