summaryrefslogtreecommitdiff
path: root/fs/bcachefs/move_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-23 16:21:54 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-31 12:18:38 -0400
commit96a363a7e68832054f2a93249335fd3efd870aa3 (patch)
treec644d5037e979d78f9f5b9cb4f5fe138540244b7 /fs/bcachefs/move_types.h
parentd5eade93452bd1a892e2155e9bb723f04992bdac (diff)
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>
Diffstat (limited to 'fs/bcachefs/move_types.h')
-rw-r--r--fs/bcachefs/move_types.h3
1 files changed, 1 insertions, 2 deletions
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;
};