diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-02 14:59:52 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-03 01:20:19 -0400 |
commit | dd7c16607010df4839ec9a31dd5957af759b8e50 (patch) | |
tree | cad984bc73cb45770df572e02c16d4e4a48d8af6 /scripts/lib/kdoc/kdoc_output.py | |
parent | 1a30b83ac787b5f887f3e90ba37c8ee27278227e (diff) |
bcachefs: Faster checking for missing journal entries
Previously, we would do a linear search over journal entry gaps,
checking for entries that aren't actually missing beacuse the sequence
number was blacklisted.
But multi device filesystems can have massive gaps in journal entry
sequence numbers, and the linear search then becomes quite painful.
Fix this with two new helpers for iterating over the blacklist table:
bch2_journal_seq_next_blacklisted()
bch2_journal_seq_next_nonblacklisted()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions