bcachefs: move.c refactoring
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 20 Jun 2022 19:40:26 +0000 (15:40 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:35 +0000 (17:09 -0400)
commit0337cc7eeed19e81e50414b5199bb65029ca0ed5
tree8b40f9191ccfa8adef47e178ffafa7149b77b69c
parentc91996c50a9ad6569cf9cb52e79c171f0d34814d
bcachefs: move.c refactoring

 - add bch2_moving_ctxt_(init|exit)
 - split out __bch2_evacutae_bucket() which takes an existing
   moving_ctxt, this will be used for improving copygc performance by
   pipelining across multiple buckets

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/move.c
fs/bcachefs/move.h
fs/bcachefs/movinggc.c
fs/bcachefs/rebalance.c