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