diff options
| author | Daniel Rosenberg <drosen@google.com> | 2018-07-09 20:32:42 -0700 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-18 13:37:05 -0700 |
| commit | 5e39f1496f8eb41f19cef9be713c5abef787153b (patch) | |
| tree | 16647e2fa968a41b1c06f9e6740fb139b0bdf593 /tools/perf/scripts/python | |
| parent | 7b1c7d07d000f7e0c90d0c9930c9e360d4f33878 (diff) | |
f2fs: Keep alloc_valid_block_count in sync
If we attempt to request more blocks than we have room for, we try to
instead request as much as we can, however, alloc_valid_block_count
is not decremented to match the new value, allowing it to drift higher
until the next checkpoint. This always decrements it when the requested
amount cannot be fulfilled.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
