Kconfig 864 B

123456789101112131415161718192021222324252627282930
  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. select CLOSURES
  7. help
  8. Allows a block device to be used as cache for other devices; uses
  9. a btree for indexing and the layout is optimized for SSDs.
  10. See Documentation/admin-guide/bcache.rst for details.
  11. config BCACHE_DEBUG
  12. bool "Bcache debugging"
  13. depends on BCACHE
  14. help
  15. Don't select this option unless you're a developer
  16. Enables extra debugging tools, allows expensive runtime checks to be
  17. turned on.
  18. config BCACHE_ASYNC_REGISTRATION
  19. bool "Asynchronous device registration"
  20. depends on BCACHE
  21. help
  22. Add a sysfs file /sys/fs/bcache/register_async. Writing registering
  23. device path into this file will returns immediately and the real
  24. registration work is handled in kernel work queue in asynchronous
  25. way.