bcachefs: move: move_stats refactoring
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 23 Oct 2023 20:21:54 +0000 (16:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 31 Oct 2023 16:18:38 +0000 (12:18 -0400)
commit96a363a7e68832054f2a93249335fd3efd870aa3
treec644d5037e979d78f9f5b9cb4f5fe138540244b7
parentd5eade93452bd1a892e2155e9bb723f04992bdac
bcachefs: move: move_stats refactoring

data_progress_list is gone - it was redundant with moving_context_list

The upcoming rebalance rewrite is going to have it using two different
move_stats objects with the same moving_context, depending on whether
it's scanning or using the rebalance_work btree - this patch plumbs
stats around a bit differently so that will work.

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