Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config BCACHE
  3. tristate "Block device as cache"
  4. select CRC64
  5. help
  6. Allows a block device to be used as cache for other devices; uses
  7. a btree for indexing and the layout is optimized for SSDs.
  8. See Documentation/admin-guide/bcache.rst for details.
  9. config BCACHE_DEBUG
  10. bool "Bcache debugging"
  11. depends on BCACHE
  12. help
  13. Don't select this option unless you're a developer
  14. Enables extra debugging tools, allows expensive runtime checks to be
  15. turned on.
  16. config BCACHE_CLOSURES_DEBUG
  17. bool "Debug closures"
  18. depends on BCACHE
  19. select DEBUG_FS
  20. help
  21. Keeps all active closures in a linked list and provides a debugfs
  22. interface to list them, which makes it possible to see asynchronous
  23. operations that get stuck.
  24. config BCACHE_ASYNC_REGISTRATION
  25. bool "Asynchronous device registration (EXPERIMENTAL)"
  26. depends on BCACHE
  27. help
  28. Add a sysfs file /sys/fs/bcache/register_async. Writing registering
  29. device path into this file will returns immediately and the real
  30. registration work is handled in kernel work queue in asynchronous
  31. way.