48add0f5a6
The implementation for Open-Channel SSDs is divided into media management and targets. This patch implements a generic media manager for open-channel SSDs. After a media manager has been initialized, single or multiple targets can be instantiated with the media managed as the backend. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
35 lines
942 B
Text
35 lines
942 B
Text
#
|
|
# Open-Channel SSD NVM configuration
|
|
#
|
|
|
|
menuconfig NVM
|
|
bool "Open-Channel SSD target support"
|
|
depends on BLOCK
|
|
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"
|
|
---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 "Generic NVM manager for Open-Channel SSDs"
|
|
---help---
|
|
NVM media manager for Open-Channel SSDs that offload management
|
|
functionality to device, while keeping data placement and garbage
|
|
collection decisions on the host.
|
|
|
|
endif # NVM
|