diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 23:21:54 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 19:18:38 +0300 |
commit | 96a363a7e68832054f2a93249335fd3efd870aa3 (patch) | |
tree | c644d5037e979d78f9f5b9cb4f5fe138540244b7 /fs/bcachefs/movinggc.c | |
parent | d5eade93452bd1a892e2155e9bb723f04992bdac (diff) | |
download | linux-96a363a7e68832054f2a93249335fd3efd870aa3.tar.xz |
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/movinggc.c')
-rw-r--r-- | fs/bcachefs/movinggc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c index a2862e322658..f73b9b7f4bf7 100644 --- a/fs/bcachefs/movinggc.c +++ b/fs/bcachefs/movinggc.c @@ -361,6 +361,7 @@ static int bch2_copygc_thread(void *arg) move_buckets_wait(&ctxt, &buckets, true); rhashtable_destroy(&buckets.table); bch2_moving_ctxt_exit(&ctxt); + bch2_move_stats_exit(&move_stats, c); return 0; } |