diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-14 14:47:42 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-14 15:11:34 -0500 |
commit | ca2b096ed0403f34418cd4bb3af42d19d1f21005 (patch) | |
tree | e7e65d9d85386be5e5cb0a6554b1ba2d1edd5285 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 2c1b5516b0d942ef7181c118c65120c4f7b9e1cb (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 <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions