Commit 5f5c7466 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Start copygc when first going read-write



In the distant past, it wasn't possible to start copygc until after
journal replay had finished. Now, the btree iterator code overlays keys
from the journal, so there's no reason not to start it earlier - and it
solves a rare deadlock.

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