xref: /openbmc/linux/drivers/md/bcache/Kconfig (revision 5fb94e9c)
1cafe5635SKent Overstreet
2cafe5635SKent Overstreetconfig BCACHE
3cafe5635SKent Overstreet	tristate "Block device as cache"
4cafe5635SKent Overstreet	---help---
5cafe5635SKent Overstreet	Allows a block device to be used as cache for other devices; uses
6cafe5635SKent Overstreet	a btree for indexing and the layout is optimized for SSDs.
7cafe5635SKent Overstreet
85fb94e9cSMauro Carvalho Chehab	See Documentation/admin-guide/bcache.rst for details.
9cafe5635SKent Overstreet
10cafe5635SKent Overstreetconfig BCACHE_DEBUG
11cafe5635SKent Overstreet	bool "Bcache debugging"
12cafe5635SKent Overstreet	depends on BCACHE
13cafe5635SKent Overstreet	---help---
14cafe5635SKent Overstreet	Don't select this option unless you're a developer
15cafe5635SKent Overstreet
16280481d0SKent Overstreet	Enables extra debugging tools, allows expensive runtime checks to be
17280481d0SKent Overstreet	turned on.
18cafe5635SKent Overstreet
19cafe5635SKent Overstreetconfig BCACHE_CLOSURES_DEBUG
20cafe5635SKent Overstreet	bool "Debug closures"
21cafe5635SKent Overstreet	depends on BCACHE
22cafe5635SKent Overstreet	select DEBUG_FS
23cafe5635SKent Overstreet	---help---
24cafe5635SKent Overstreet	Keeps all active closures in a linked list and provides a debugfs
25cafe5635SKent Overstreet	interface to list them, which makes it possible to see asynchronous
26cafe5635SKent Overstreet	operations that get stuck.
27