diff options
| author | Javier González <[email protected]> | 2017-10-13 14:46:27 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-10-13 08:34:57 -0600 |
| commit | e6b754c252bacebdfbe3c57e790431ab8f445d1f (patch) | |
| tree | 841fb8a9e40a3df783c3e4ccc2e20cc713bcc091 /tools/perf/scripts/python/bin | |
| parent | 21d2287119e843929c29fb1adbd271bde1fac7ae (diff) | |
lightnvm: pblk: ensure right bad block calculation
Make sure that the variable controlling block threshold for allocating
extra metadata sectors in case of a line with bad blocks does not get a
negative value. Otherwise, the line will be marked as corrupted and
wasted.
Signed-off-by: Javier González <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions