• M
    lightnvm: fix media mgr registration · 762796bc
    Matias Bjørling 提交于
    This patch fixes two issues during media manager registration.
    
    1. The ppa pool can be used at media manager registration. Allocate the
    ppa pool before that.
    
    2. If a media manager can't be found, this should not lead to the
    device being unallocated. A media manager can be registered later, that
    can manage the device. Only warn if a media manager fails
    initialization.
    Signed-off-by: NMatias Bjørling <m@bjorling.me>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    762796bc
core.c 17.9 KB