summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/Kconfig
blob: 05c220d05e232454129b6a2db5115b7265e9a213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

config BCACHE
	tristate "Block device as cache"
	select CLOSURES
	---help---
	Allows a block device to be used as cache for other devices; uses
	a btree for indexing and the layout is optimized for SSDs.

	See Documentation/bcache.txt for details.

config BCACHE_DEBUG
	bool "Bcache debugging"
	depends on BCACHE
	---help---
	Don't select this option unless you're a developer

	Enables extra debugging tools (primarily a fuzz tester)

config BCACHE_EDEBUG
	bool "Extended runtime checks"
	depends on BCACHE
	---help---
	Don't select this option unless you're a developer

	Enables extra runtime checks which significantly affect performance

config BCACHE_CLOSURES_DEBUG
	bool "Debug closures"
	depends on BCACHE
	select DEBUG_FS
	---help---
	Keeps all active closures in a linked list and provides a debugfs
	interface to list them, which makes it possible to see asynchronous
	operations that get stuck.

# cgroup code needs to be updated:
#
#config CGROUP_BCACHE
#	bool "Cgroup controls for bcache"
#	depends on BCACHE && BLK_CGROUP
#	---help---
#	TODO