31 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2 3config BCACHE4 tristate "Block device as cache"5 select BLOCK_HOLDER_DEPRECATED if SYSFS6 select CRC647 select CLOSURES8 help9 Allows a block device to be used as cache for other devices; uses10 a btree for indexing and the layout is optimized for SSDs.11 12 See Documentation/admin-guide/bcache.rst for details.13 14config BCACHE_DEBUG15 bool "Bcache debugging"16 depends on BCACHE17 help18 Don't select this option unless you're a developer19 20 Enables extra debugging tools, allows expensive runtime checks to be21 turned on.22 23config BCACHE_ASYNC_REGISTRATION24 bool "Asynchronous device registration"25 depends on BCACHE26 help27 Add a sysfs file /sys/fs/bcache/register_async. Writing registering28 device path into this file will returns immediately and the real29 registration work is handled in kernel work queue in asynchronous30 way.31