diff options
author | Chao Yu <[email protected]> | 2016-01-12 07:49:16 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-01-12 08:21:15 -0700 |
commit | bdded1552085b12d23c9be76147d2e96647a098f (patch) | |
tree | 96fa04d75f82de069dadf66569a611e24e2c3848 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3cd485b1f8e25a6534eb4c542e7eba1b944fbaaf (diff) |
lightnvm: fix incorrect nr_free_blocks stat
When initing bad block list in gennvm_block_bb, once we move bad block
from free_list to bb_list, we should maintain both stat info
nr_free_blocks and nr_bad_blocks. So this patch fixes to add missing
operation related to nr_free_blocks.
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions