• Matias Bjørling's avatar
    lightnvm: use system block for mm initialization · b7692076
    Matias Bjørling authored
    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: default avatarMatias Bjørling <m@bjorling.me>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    b7692076
core.c 24.5 KB