mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 08:16:43 +07:00
280481d06c
Couple changes: * Consolidate bch_check_keys() and bch_check_key_order(), and move the checks that only check_key_order() could do to bch_btree_iter_next(). * Get rid of CONFIG_BCACHE_EDEBUG - now, all that code is compiled in when CONFIG_BCACHE_DEBUG is enabled, and there's now a sysfs file to flip on the EDEBUG checks at runtime. * Dropped an old not terribly useful check in rw_unlock(), and refactored/improved a some of the other debug code. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
35 lines
859 B
Plaintext
35 lines
859 B
Plaintext
|
|
config BCACHE
|
|
tristate "Block device as cache"
|
|
---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/bcache.txt 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_CLOSURES_DEBUG
|
|
bool "Debug closures"
|
|
depends on BCACHE
|
|
select DEBUG_FS
|
|
---help---
|
|
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.
|
|
|
|
# cgroup code needs to be updated:
|
|
#
|
|
#config CGROUP_BCACHE
|
|
# bool "Cgroup controls for bcache"
|
|
# depends on BCACHE && BLK_CGROUP
|
|
# ---help---
|
|
# TODO
|