Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bcachefs: Coalesce accounting keys before journal replay
This fixes a performance regression in journal replay; without colaescing accounting keys we have multiple keys at the same position, which means journal_keys_peek_upto() has to skip past many overwritten keys - turning journal replay into an O(n^2) algorithm. Signed-off-by: Kent Overstreet <[email protected]>
- Loading branch information