diff options
author | Matias Bjørling <m@bjorling.me> | 2015-12-06 10:25:49 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-12-07 16:14:19 (GMT) |
commit | 762796bc9e5758df6c72253e4ec19657055cea1f (patch) | |
tree | 2d7eda1eb035ebbe5c1e6cd92b5f30f961c1864f /scripts | |
parent | 16f26c3aa9b9c36a9d1092ae3258461d1008481e (diff) | |
download | linux-762796bc9e5758df6c72253e4ec19657055cea1f.tar.xz |
lightnvm: fix media mgr registration
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: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions