From 96a363a7e68832054f2a93249335fd3efd870aa3 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 23 Oct 2023 16:21:54 -0400 Subject: 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 --- fs/bcachefs/move_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fs/bcachefs/move_types.h') diff --git a/fs/bcachefs/move_types.h b/fs/bcachefs/move_types.h index f402aa179bbe..e22841ef31e4 100644 --- a/fs/bcachefs/move_types.h +++ b/fs/bcachefs/move_types.h @@ -7,13 +7,12 @@ struct bch_move_stats { enum bch_data_type data_type; struct bbpos pos; - struct list_head list; char name[32]; atomic64_t keys_moved; atomic64_t keys_raced; - atomic64_t sectors_moved; atomic64_t sectors_seen; + atomic64_t sectors_moved; atomic64_t sectors_raced; }; -- cgit v1.2.3