commit | d5bdec8ddb9f5fac3b351bed463a7132f6ba907b | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Fri Feb 19 13:56:58 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Thu Mar 03 14:45:53 2016 -0700 |
tree | da9483977df6e4d457d0ea0687d2d990ed961184 | |
parent | 5e422cffe822874cefc1657cd287c8647b2782dd [diff] |
lightnvm: fold get bb tbl when using dual/quad plane mode When the media manager runs in dual or quad plane mode, lightnvm abstracts away plane specific commands. This poses a problem for get bad block table, as it reports bad blocks per plane, making the table either two or four times bigger than expected. Fold the bad block list before returning. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>