Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
cafe5635 KO |
2 | |
3 | config BCACHE | |
4 | tristate "Block device as cache" | |
d2359963 | 5 | select CRC64 |
bc81b47e | 6 | help |
cafe5635 KO |
7 | Allows a block device to be used as cache for other devices; uses |
8 | a btree for indexing and the layout is optimized for SSDs. | |
9 | ||
5fb94e9c | 10 | See Documentation/admin-guide/bcache.rst for details. |
cafe5635 KO |
11 | |
12 | config BCACHE_DEBUG | |
13 | bool "Bcache debugging" | |
14 | depends on BCACHE | |
bc81b47e | 15 | help |
cafe5635 KO |
16 | Don't select this option unless you're a developer |
17 | ||
280481d0 KO |
18 | Enables extra debugging tools, allows expensive runtime checks to be |
19 | turned on. | |
cafe5635 KO |
20 | |
21 | config BCACHE_CLOSURES_DEBUG | |
22 | bool "Debug closures" | |
23 | depends on BCACHE | |
24 | select DEBUG_FS | |
bc81b47e | 25 | help |
cafe5635 KO |
26 | Keeps all active closures in a linked list and provides a debugfs |
27 | interface to list them, which makes it possible to see asynchronous | |
28 | operations that get stuck. |