forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-4.4/lightnvm' of git://git.kernel.dk/linux-block
Pull lightnvm support from Jens Axboe: "This adds support for lightnvm, and adds support to NVMe as well. This is pretty exciting, in that it enables new and interesting use cases for compatible flash devices. There's a LWN writeup about an earlier posting here: https://lwn.net/Articles/641247/ This has been underway for a while, and should be ready for merging at this point" * 'for-4.4/lightnvm' of git://git.kernel.dk/linux-block: nvme: lightnvm: clean up a data type lightnvm: refactor phys addrs type to u64 nvme: LightNVM support rrpc: Round-robin sector target with cost-based gc gennvm: Generic NVM manager lightnvm: Support for Open-Channel SSDs
- Loading branch information
Showing
17 changed files
with
4,197 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# | ||
# 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. | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Makefile for Open-Channel SSDs. | ||
# | ||
|
||
obj-$(CONFIG_NVM) := core.o | ||
obj-$(CONFIG_NVM_GENNVM) += gennvm.o | ||
obj-$(CONFIG_NVM_RRPC) += rrpc.o |
Oops, something went wrong.