commit | 1d8b33e05cea69a1b0b7f2f2a7c102b6583a984f | [log] [tgz] |
---|---|---|
author | Javier González <javier@javigon.com> | Fri Jun 01 15:04:16 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 01 07:43:53 2018 -0600 |
tree | e591e7a0e7ace394454241a3e42675dc34dff0c7 | |
parent | 2deeefc02dfff6b554020eb62aecf98814641372 [diff] |
lightnvm: pblk: recheck for bad lines at runtime Bad blocks can grow at runtime. Check that the number of valid blocks in a line are within the sanity threshold before allocating the line for new writes. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>