mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
8c8d2d9670
Prep work for bcachefs - being a fork of bcache it also uses closures Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Acked-by: Coly Li <colyli@suse.de> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
31 lines
864 B
Plaintext
31 lines
864 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config BCACHE
|
|
tristate "Block device as cache"
|
|
select BLOCK_HOLDER_DEPRECATED if SYSFS
|
|
select CRC64
|
|
select CLOSURES
|
|
help
|
|
Allows a block device to be used as cache for other devices; uses
|
|
a btree for indexing and the layout is optimized for SSDs.
|
|
|
|
See Documentation/admin-guide/bcache.rst for details.
|
|
|
|
config BCACHE_DEBUG
|
|
bool "Bcache debugging"
|
|
depends on BCACHE
|
|
help
|
|
Don't select this option unless you're a developer
|
|
|
|
Enables extra debugging tools, allows expensive runtime checks to be
|
|
turned on.
|
|
|
|
config BCACHE_ASYNC_REGISTRATION
|
|
bool "Asynchronous device registration"
|
|
depends on BCACHE
|
|
help
|
|
Add a sysfs file /sys/fs/bcache/register_async. Writing registering
|
|
device path into this file will returns immediately and the real
|
|
registration work is handled in kernel work queue in asynchronous
|
|
way.
|