diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-11-14 18:20:10 -0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@google.com> | 2017-09-25 15:13:34 -0700 |
| commit | df3f20f12b9fcf4c93706ac24edcb6a3ff9f58a5 (patch) | |
| tree | b18fbfba86aaec4b0ef327d19aa5079469f5cf21 /tools/perf/scripts/python | |
| parent | 79ba046b115eaa4c0f30104bccb6f41ae710e952 (diff) | |
f2fs: fix wrong written_valid_blocks counting
commit c79b7ff1d3c7710c23d8828a69d8cbc5597ad19f upstream.
Previously, written_valid_blocks was got by ckpt->valid_block_count. But if
the last checkpoint has some NEW_ADDR due to power-cut, we can get wrong value.
Fix it to get the number from actual written block count from sit entries.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
