diff options
| author | Kent Overstreet | 2020-11-13 14:39:43 -0500 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:47 -0400 |
| commit | 35ef6df5ca67347c606e418eb3ef71870ea97ba7 (patch) | |
| tree | 43b7036f7a7ed6a9f08f6efb1bbbb18a407e2916 /tools/perf/scripts/python/task-analyzer.py | |
| parent | eb8e6e9ccbb4ba37c04a7cff032975b4df7d63c7 (diff) | |
bcachefs: Improve journal entry validate code
Previously, the journal entry read code was changed so that if we got a
journal entry that failed validation, we'd try to use it, preferring to
use a good version from another device if available.
But this left a bug where if an earlier validation check (say, checksum)
failed, the later checks (for last_seq) wouldn't run and we'd end up
using a journal entry with a garbage last_seq field. This fixes that so
that the later validation checks run and if necessary change those
fields to something sensible.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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
