Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # Open-Channel SSD NVM configuration
  3. #
  4. menuconfig NVM
  5. bool "Open-Channel SSD target support"
  6. depends on BLOCK && HAS_DMA
  7. help
  8. Say Y here to get to enable Open-channel SSDs.
  9. Open-Channel SSDs implement a set of extension to SSDs, that
  10. exposes direct access to the underlying non-volatile memory.
  11. If you say N, all options in this submenu will be skipped and disabled
  12. only do this if you know what you are doing.
  13. if NVM
  14. config NVM_DEBUG
  15. bool "Open-Channel SSD debugging support"
  16. default n
  17. ---help---
  18. Exposes a debug management interface to create/remove targets at:
  19. /sys/module/lnvm/parameters/configure_debug
  20. It is required to create/remove targets without IOCTLs.
  21. config NVM_RRPC
  22. tristate "Round-robin Hybrid Open-Channel SSD target"
  23. ---help---
  24. Allows an open-channel SSD to be exposed as a block device to the
  25. host. The target is implemented using a linear mapping table and
  26. cost-based garbage collection. It is optimized for 4K IO sizes.
  27. config NVM_PBLK
  28. tristate "Physical Block Device Open-Channel SSD target"
  29. ---help---
  30. Allows an open-channel SSD to be exposed as a block device to the
  31. host. The target assumes the device exposes raw flash and must be
  32. explicitly managed by the host.
  33. Please note the disk format is considered EXPERIMENTAL for now.
  34. endif # NVM