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

bcachefs: Don't start copygc until recovery is finished



With "bcachefs: Snapshot depth, skiplist fields", we now can't run data
move operations until after bch2_check_snapshots() is complete.

Ideally we'd have the copygc (and rebalance) threads wait until
c->curr_recovery_pass has advanced, but the waitlist handling is tricky
- so for now, move starting copygc back to read_write_late().

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