Kconfig 1.1 KB

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