blob: 2a953efec4e196b8bbac2203845954e2a3163fe6 [file] [log] [blame]
Matias Bjørlingcd9e9802015-10-28 19:54:55 +01001#
2# Open-Channel SSD NVM configuration
3#
4
5menuconfig NVM
6 bool "Open-Channel SSD target support"
Rakesh Pandit32c662c2017-10-13 14:45:55 +02007 depends on BLOCK && HAS_DMA && PCI
8 select BLK_DEV_NVME
Matias Bjørlingcd9e9802015-10-28 19:54:55 +01009 help
10 Say Y here to get to enable Open-channel SSDs.
11
12 Open-Channel SSDs implement a set of extension to SSDs, that
13 exposes direct access to the underlying non-volatile memory.
14
15 If you say N, all options in this submenu will be skipped and disabled
16 only do this if you know what you are doing.
17
18if NVM
19
20config NVM_DEBUG
21 bool "Open-Channel SSD debugging support"
Matias Bjørling41586242015-12-06 11:25:51 +010022 default n
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010023 ---help---
24 Exposes a debug management interface to create/remove targets at:
25
26 /sys/module/lnvm/parameters/configure_debug
27
28 It is required to create/remove targets without IOCTLs.
29
Matias Bjørlingae1519e2015-10-28 19:54:57 +010030config NVM_RRPC
31 tristate "Round-robin Hybrid Open-Channel SSD target"
32 ---help---
33 Allows an open-channel SSD to be exposed as a block device to the
34 host. The target is implemented using a linear mapping table and
35 cost-based garbage collection. It is optimized for 4K IO sizes.
36
Javier Gonzáleza4bd2172017-04-15 20:55:50 +020037config NVM_PBLK
38 tristate "Physical Block Device Open-Channel SSD target"
39 ---help---
40 Allows an open-channel SSD to be exposed as a block device to the
41 host. The target assumes the device exposes raw flash and must be
42 explicitly managed by the host.
43
44 Please note the disk format is considered EXPERIMENTAL for now.
45
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010046endif # NVM