Skip to content

Commit

Permalink
lightnvm: merge gennvm with core
Browse files Browse the repository at this point in the history
For the first iteration of Open-Channel SSDs, it was anticipated that
there could be various media managers on top of an open-channel SSD,
such to allow vendors to plug in their own host-side FTLs, without the
media manager in between.

Now that an Open-Channel SSD is exposed as a traditional block device,
there is no longer a need for this. Therefore lets merge the gennvm code
with core and simplify the stack.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Matias Bjørling authored and axboe committed Jan 31, 2017
1 parent 400f73b commit ade69e2
Show file tree
Hide file tree
Showing 8 changed files with 606 additions and 1,748 deletions.
9 changes: 0 additions & 9 deletions drivers/lightnvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ config NVM_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---
Expand Down
3 changes: 1 addition & 2 deletions drivers/lightnvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
# Makefile for Open-Channel SSDs.
#

obj-$(CONFIG_NVM) := core.o sysblk.o
obj-$(CONFIG_NVM_GENNVM) += gennvm.o
obj-$(CONFIG_NVM) := core.o
obj-$(CONFIG_NVM_RRPC) += rrpc.o
Loading

0 comments on commit ade69e2

Please sign in to comment.