diff options
| author | Kent Overstreet | 2019-08-22 13:20:38 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:26 -0400 |
| commit | df5d4dae0b667f93616d6e47da09ad916dcb7102 (patch) | |
| tree | abf45721054c25b75aab9bae48c409299ad36315 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 6671a7089fdcdd8f25f6b4729fdc066f7c42edfd (diff) | |
bcachefs: Fixes for replicas tracking
The continue statement in bch2_trans_mark_extent() was wrong - by
bailing out early, we'd be constructing the wrong replicas list to
update. Also, the assertion in update_replicas() was wrong - due to
rounding with compressed extents, it is possible for sectors to be 0
sometimes.
Also, change extent_to_replicas() in replicas.c to match the replicas
list we construct in buckets.c.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
