]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
lightnvm: use system block for mm initialization
authorMatias Bjørling <m@bjorling.me>
Tue, 12 Jan 2016 06:49:38 +0000 (07:49 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:58:41 +0000 (08:58 -0700)
commit35f0017788839536508699594bc4215feb41f824
tree17d3038f05430529ea840741d2458febb73aa620
parentf5c288b8bc7550127b1763698fa7a4809365dd1e
lightnvm: use system block for mm initialization

BugLink: http://bugs.launchpad.net/bugs/1531539
Use system block information to register the appropriate media manager.
This enables the LightNVM subsystem to instantiate a media manager
selected by the user, instead of relying on automatic detection by each
media manager loaded in the kernel.

A device must now be initialized before it can proceed to initialize its
media manager. Upon initialization, the configured media manager is
automatically initialized as well.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit b769207678176d590ea61ce7a64c9100925668b7)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/lightnvm/core.c
include/linux/lightnvm.h