1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2cafe5635SKent Overstreet 3cafe5635SKent Overstreetconfig BCACHE 4cafe5635SKent Overstreet tristate "Block device as cache" 5c66fd019SChristoph Hellwig select BLOCK_HOLDER_DEPRECATED if SYSFS 6d2359963SColy Li select CRC64 7*8c8d2d96SKent Overstreet select CLOSURES 8bc81b47eSColy Li help 9cafe5635SKent Overstreet Allows a block device to be used as cache for other devices; uses 10cafe5635SKent Overstreet a btree for indexing and the layout is optimized for SSDs. 11cafe5635SKent Overstreet 125fb94e9cSMauro Carvalho Chehab See Documentation/admin-guide/bcache.rst for details. 13cafe5635SKent Overstreet 14cafe5635SKent Overstreetconfig BCACHE_DEBUG 15cafe5635SKent Overstreet bool "Bcache debugging" 16cafe5635SKent Overstreet depends on BCACHE 17bc81b47eSColy Li help 18cafe5635SKent Overstreet Don't select this option unless you're a developer 19cafe5635SKent Overstreet 20280481d0SKent Overstreet Enables extra debugging tools, allows expensive runtime checks to be 21280481d0SKent Overstreet turned on. 22cafe5635SKent Overstreet 236acd193bSJean Delvareconfig BCACHE_ASYNC_REGISTRATION 24640c46a2SColy Li bool "Asynchronous device registration" 250c8d3fceSColy Li depends on BCACHE 260c8d3fceSColy Li help 270c8d3fceSColy Li Add a sysfs file /sys/fs/bcache/register_async. Writing registering 280c8d3fceSColy Li device path into this file will returns immediately and the real 290c8d3fceSColy Li registration work is handled in kernel work queue in asynchronous 300c8d3fceSColy Li way. 31