xref: /linux/drivers/md/bcache/Kconfig (revision 8c8d2d96)
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.
31