diff options
| author | Kent Overstreet <[email protected]> | 2022-12-14 14:47:42 -0500 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:48 -0400 |
| commit | 1ba8a796b427d312aa68c2e04e00b42ec742883e (patch) | |
| tree | 575f1dd06ce6c49e99a8746ee066f8c6efc146ec /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 14d7d61fac9c151a270c6ef6f969993eae9f1bbf (diff) | |
bcachefs: Recover from blacklisted journal entries
If it so happens that we crash while dirty, meaning we don't have the
superblock clean section, and we erroneously mark a journal entry we
wrote as blacklisted, we won't be able to recover.
This patch fixes this by adding a fallback: if we've got no superblock
clean section, and no non-ignored journal entries, we try the most
recent ignored journal entry.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions