Skip to content
Commit 50e029c6 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_moving_ctxt_flush_all()



Introduce a new helper to flush all move IOs, and use it in a few places
where we should have been.

The new helper also drops btree locks before waiting on outstanding move
writes, avoiding potential deadlocks.

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