Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2
3config BCACHE
4 tristate "Block device as cache"
5 select BLOCK_HOLDER_DEPRECATED if SYSFS
6 select CRC64
7 select CLOSURES
8 help
9 Allows a block device to be used as cache for other devices; uses
10 a btree for indexing and the layout is optimized for SSDs.
11
12 See Documentation/admin-guide/bcache.rst for details.
13
14config BCACHE_DEBUG
15 bool "Bcache debugging"
16 depends on BCACHE
17 help
18 Don't select this option unless you're a developer
19
20 Enables extra debugging tools, allows expensive runtime checks to be
21 turned on.
22
23config BCACHE_ASYNC_REGISTRATION
24 bool "Asynchronous device registration"
25 depends on BCACHE
26 help
27 Add a sysfs file /sys/fs/bcache/register_async. Writing registering
28 device path into this file will returns immediately and the real
29 registration work is handled in kernel work queue in asynchronous
30 way.
1
2config BCACHE
3 tristate "Block device as cache"
4 ---help---
5 Allows a block device to be used as cache for other devices; uses
6 a btree for indexing and the layout is optimized for SSDs.
7
8 See Documentation/bcache.txt for details.
9
10config BCACHE_DEBUG
11 bool "Bcache debugging"
12 depends on BCACHE
13 ---help---
14 Don't select this option unless you're a developer
15
16 Enables extra debugging tools, allows expensive runtime checks to be
17 turned on.
18
19config BCACHE_CLOSURES_DEBUG
20 bool "Debug closures"
21 depends on BCACHE
22 select DEBUG_FS
23 ---help---
24 Keeps all active closures in a linked list and provides a debugfs
25 interface to list them, which makes it possible to see asynchronous
26 operations that get stuck.