1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "Block device as cache"
5 select BLOCK_HOLDER_DEPRECATED if SYSFS
10 Allows a block device to be used as cache for other devices; uses
11 a btree for indexing and the layout is optimized for SSDs.
13 See Documentation/admin-guide/bcache.rst for details.
16 bool "Bcache debugging"
19 Don't select this option unless you're a developer
21 Enables extra debugging tools, allows expensive runtime checks to be
24 config BCACHE_ASYNC_REGISTRATION
25 bool "Asynchronous device registration"
28 Add a sysfs file /sys/fs/bcache/register_async. Writing registering
29 device path into this file will returns immediately and the real
30 registration work is handled in kernel work queue in asynchronous