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 select MIN_HEAP 9 help 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. 12 13 See Documentation/admin-guide/bcache.rst for details. 14 15config BCACHE_DEBUG 16 bool "Bcache debugging" 17 depends on BCACHE 18 help 19 Don't select this option unless you're a developer 20 21 Enables extra debugging tools, allows expensive runtime checks to be 22 turned on. 23 24config BCACHE_ASYNC_REGISTRATION 25 bool "Asynchronous device registration" 26 depends on BCACHE 27 help 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 31 way. 32