Loading...
1#
2# Open-Channel SSD NVM configuration
3#
4
5menuconfig NVM
6 bool "Open-Channel SSD target support"
7 depends on BLOCK && HAS_DMA
8 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"
21 default n
22 ---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
29config NVM_GENNVM
30 tristate "General Non-Volatile Memory Manager for Open-Channel SSDs"
31 ---help---
32 Non-volatile memory media manager for Open-Channel SSDs that implements
33 physical media metadata management and block provisioning API.
34
35 This is the standard media manager for using Open-Channel SSDs, and
36 required for targets to be instantiated.
37
38config NVM_RRPC
39 tristate "Round-robin Hybrid Open-Channel SSD target"
40 ---help---
41 Allows an open-channel SSD to be exposed as a block device to the
42 host. The target is implemented using a linear mapping table and
43 cost-based garbage collection. It is optimized for 4K IO sizes.
44
45endif # NVM
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Open-Channel SSD NVM configuration
4#
5
6menuconfig NVM
7 bool "Open-Channel SSD target support (DEPRECATED)"
8 depends on BLOCK
9 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
18 This code is deprecated and will be removed in Linux 5.15.
19
20if NVM
21
22config NVM_PBLK
23 tristate "Physical Block Device Open-Channel SSD target"
24 select CRC32
25 help
26 Allows an open-channel SSD to be exposed as a block device to the
27 host. The target assumes the device exposes raw flash and must be
28 explicitly managed by the host.
29
30 Please note the disk format is considered EXPERIMENTAL for now.
31
32if NVM_PBLK
33
34config NVM_PBLK_DEBUG
35 bool "PBlk Debug Support"
36 default n
37 help
38 Enables debug support for pblk. This includes extra checks, more
39 vocal error messages, and extra tracking fields in the pblk sysfs
40 entries.
41
42endif # NVM_PBLK_DEBUG
43
44endif # NVM