summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/Kconfig
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-03-18 03:35:23 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-19 21:47:33 +0300
commit8c8d2d9670e813d623d8a2cbc881cb57344f4d37 (patch)
tree3bb46e7b0c19a2242829bad8b56fd33d52629c77 /drivers/md/bcache/Kconfig
parent957e48087dfa38c976407f82e7525277d17a27ae (diff)
downloadlinux-8c8d2d9670e813d623d8a2cbc881cb57344f4d37.tar.xz
bcache: move closures to lib/
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>
Diffstat (limited to 'drivers/md/bcache/Kconfig')
-rw-r--r--drivers/md/bcache/Kconfig10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/md/bcache/Kconfig b/drivers/md/bcache/Kconfig
index 529c9d04e9a4..b2d10063d35f 100644
--- a/drivers/md/bcache/Kconfig
+++ b/drivers/md/bcache/Kconfig
@@ -4,6 +4,7 @@ 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.
@@ -19,15 +20,6 @@ config BCACHE_DEBUG
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.
-
config BCACHE_ASYNC_REGISTRATION
bool "Asynchronous device registration"
depends on BCACHE