2019-05-19 14:07:45 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2013-03-24 00:11:31 +01:00
|
|
|
|
|
|
|
config BCACHE
|
|
|
|
tristate "Block device as cache"
|
2018-08-22 06:57:15 +02:00
|
|
|
select CRC64
|
2018-08-11 07:19:53 +02:00
|
|
|
help
|
2013-03-24 00:11:31 +01: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 20:14:57 +02:00
|
|
|
See Documentation/admin-guide/bcache.rst for details.
|
2013-03-24 00:11:31 +01:00
|
|
|
|
|
|
|
config BCACHE_DEBUG
|
|
|
|
bool "Bcache debugging"
|
|
|
|
depends on BCACHE
|
2018-08-11 07:19:53 +02:00
|
|
|
help
|
2013-03-24 00:11:31 +01:00
|
|
|
Don't select this option unless you're a developer
|
|
|
|
|
2013-10-25 01:36:03 +02:00
|
|
|
Enables extra debugging tools, allows expensive runtime checks to be
|
|
|
|
turned on.
|
2013-03-24 00:11:31 +01:00
|
|
|
|
|
|
|
config BCACHE_CLOSURES_DEBUG
|
|
|
|
bool "Debug closures"
|
|
|
|
depends on BCACHE
|
|
|
|
select DEBUG_FS
|
2018-08-11 07:19:53 +02:00
|
|
|
help
|
2013-03-24 00:11:31 +01:00
|
|
|
Keeps all active closures in a linked list and provides a debugfs
|
|
|
|
interface to list them, which makes it possible to see asynchronous
|
|
|
|
operations that get stuck.
|