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

bcachefs: Go rw before journal replay



This gets us slightly nicer log messages.

Also, this slightly clarifies synchronization of c->journal_keys; after
we go RW it's in use by multiple threads (so that the btree iterator
code can overlay keys from the journal); so it has to be prepped before
that point.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 43c7ede0
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