Commit 57322430 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Make journal replay more efficient



Journal replay now first attempts to replay keys in sorted order,
similar to how the btree write buffer flush path works.

Any keys that can not be replayed due to journal deadlock are then left
for later and replayed in journal order, unpinning journal entries as we
go.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent bdde9829
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment