| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | |
| 2 | config BCACHE |
| 3 | tristate "Block device as cache" |
| 4 | select CRC64 |
| 5 | help |
| 6 | Allows a block device to be used as cache for other devices; uses |
| 7 | a btree for indexing and the layout is optimized for SSDs. |
| 8 | |
| 9 | See Documentation/admin-guide/bcache.rst for details. |
| 10 | |
| 11 | config BCACHE_DEBUG |
| 12 | bool "Bcache debugging" |
| 13 | depends on BCACHE |
| 14 | help |
| 15 | Don't select this option unless you're a developer |
| 16 | |
| 17 | Enables extra debugging tools, allows expensive runtime checks to be |
| 18 | turned on. |
| 19 | |
| 20 | config BCACHE_CLOSURES_DEBUG |
| 21 | bool "Debug closures" |
| 22 | depends on BCACHE |
| 23 | select DEBUG_FS |
| 24 | help |
| 25 | Keeps all active closures in a linked list and provides a debugfs |
| 26 | interface to list them, which makes it possible to see asynchronous |
| 27 | operations that get stuck. |