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