diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 16:21:54 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 12:18:38 -0400 |
commit | 96a363a7e68832054f2a93249335fd3efd870aa3 (patch) | |
tree | c644d5037e979d78f9f5b9cb4f5fe138540244b7 /fs/bcachefs/move_types.h | |
parent | d5eade93452bd1a892e2155e9bb723f04992bdac (diff) | |
download | linux-96a363a7e68832054f2a93249335fd3efd870aa3.tar.gz linux-96a363a7e68832054f2a93249335fd3efd870aa3.tar.bz2 linux-96a363a7e68832054f2a93249335fd3efd870aa3.zip |
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.h | 3 |
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; }; |