ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Open-Channel SSD NVM configuration
#
 
menuconfig NVM
   bool "Open-Channel SSD target support"
   depends on BLOCK && HAS_DMA
   help
     Say Y here to get to enable Open-channel SSDs.
 
     Open-Channel SSDs implement a set of extension to SSDs, that
     exposes direct access to the underlying non-volatile memory.
 
     If you say N, all options in this submenu will be skipped and disabled
     only do this if you know what you are doing.
 
if NVM
 
config NVM_DEBUG
   bool "Open-Channel SSD debugging support"
   default n
   ---help---
   Exposes a debug management interface to create/remove targets at:
 
     /sys/module/lnvm/parameters/configure_debug
 
   It is required to create/remove targets without IOCTLs.
 
config NVM_GENNVM
   tristate "General Non-Volatile Memory Manager for Open-Channel SSDs"
   ---help---
   Non-volatile memory media manager for Open-Channel SSDs that implements
   physical media metadata management and block provisioning API.
 
   This is the standard media manager for using Open-Channel SSDs, and
   required for targets to be instantiated.
 
config NVM_RRPC
   tristate "Round-robin Hybrid Open-Channel SSD target"
   ---help---
   Allows an open-channel SSD to be exposed as a block device to the
   host. The target is implemented using a linear mapping table and
   cost-based garbage collection. It is optimized for 4K IO sizes.
 
endif # NVM