2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2013-03-23 16:11:31 -07:00
|
|
|
|
|
|
|
config BCACHE
|
|
|
|
tristate "Block device as cache"
|
2021-08-04 11:41:40 +02:00
|
|
|
select BLOCK_HOLDER_DEPRECATED if SYSFS
|
2018-08-21 21:57:15 -07:00
|
|
|
select CRC64
|
2017-03-17 16:35:23 -08:00
|
|
|
select CLOSURES
|
2018-08-11 13:19:53 +08:00
|
|
|
help
|
2013-03-23 16:11:31 -07:00
|
|
|
Allows a block device to be used as cache for other devices; uses
|
|
|
|
a btree for indexing and the layout is optimized for SSDs.
|
|
|
|
|
2018-05-08 15:14:57 -03:00
|
|
|
See Documentation/admin-guide/bcache.rst for details.
|
2013-03-23 16:11:31 -07:00
|
|
|
|
|
|
|
config BCACHE_DEBUG
|
|
|
|
bool "Bcache debugging"
|
|
|
|
depends on BCACHE
|
2018-08-11 13:19:53 +08:00
|
|
|
help
|
2013-03-23 16:11:31 -07:00
|
|
|
Don't select this option unless you're a developer
|
|
|
|
|
2013-10-24 16:36:03 -07:00
|
|
|
Enables extra debugging tools, allows expensive runtime checks to be
|
|
|
|
turned on.
|
2013-03-23 16:11:31 -07:00
|
|
|
|
2020-07-25 20:00:15 +08:00
|
|
|
config BCACHE_ASYNC_REGISTRATION
|
2022-07-19 12:27:24 +08:00
|
|
|
bool "Asynchronous device registration"
|
2020-05-27 12:01:55 +08:00
|
|
|
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.
|