blob: ead61a93cb4eb78b3e005ac6833a90b898389a56 [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"
Geert Uytterhoevene105ddb2016-09-16 14:25:03 +02007 depends on BLOCK && HAS_DMA
Matias Bjørlingcd9e9802015-10-28 19:54:55 +01008 help
9 Say Y here to get to enable Open-channel SSDs.
10
11 Open-Channel SSDs implement a set of extension to SSDs, that
12 exposes direct access to the underlying non-volatile memory.
13
14 If you say N, all options in this submenu will be skipped and disabled
15 only do this if you know what you are doing.
16
17if NVM
18
19config NVM_DEBUG
20 bool "Open-Channel SSD debugging support"
Matias Bjørling41586242015-12-06 11:25:51 +010021 default n
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010022 ---help---
23 Exposes a debug management interface to create/remove targets at:
24
25 /sys/module/lnvm/parameters/configure_debug
26
27 It is required to create/remove targets without IOCTLs.
28
Matias Bjørlingae1519e2015-10-28 19:54:57 +010029config NVM_RRPC
30 tristate "Round-robin Hybrid Open-Channel SSD target"
31 ---help---
32 Allows an open-channel SSD to be exposed as a block device to the
33 host. The target is implemented using a linear mapping table and
34 cost-based garbage collection. It is optimized for 4K IO sizes.
35
Javier Gonzáleza4bd2172017-04-15 20:55:50 +020036config NVM_PBLK
37 tristate "Physical Block Device Open-Channel SSD target"
38 ---help---
39 Allows an open-channel SSD to be exposed as a block device to the
40 host. The target assumes the device exposes raw flash and must be
41 explicitly managed by the host.
42
43 Please note the disk format is considered EXPERIMENTAL for now.
44
Matias Bjørlingcd9e9802015-10-28 19:54:55 +010045endif # NVM