commit | dffdd960ee16d0515d32701301760a817a25d52b | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Mon Jun 26 11:57:22 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 26 16:27:39 2017 -0600 |
tree | f2fc2f7a9bf4a880541e4f781336319e2fd3d2f1 | |
parent | f680f19aa6dbbbabf499250d49f18a426b14f1c2 [diff] |
lightnvm: pblk: decouple bad block from line alloc Decouple bad block discovery from line allocation logic. This allows to return meaningful error codes in case of bad block discovery failure. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>