diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-20 13:32:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 12:18:37 -0400 |
commit | a0bfe3b065cabc669933063cb5a9066b104be406 (patch) | |
tree | b9562b6bd8680376cbd3beec788d52451d5eaad8 /fs/bcachefs/rebalance.c | |
parent | 6ddedca2180b095aacca0f628e0d03a32477f68f (diff) | |
download | linux-stable-a0bfe3b065cabc669933063cb5a9066b104be406.tar.gz linux-stable-a0bfe3b065cabc669933063cb5a9066b104be406.tar.bz2 linux-stable-a0bfe3b065cabc669933063cb5a9066b104be406.zip |
bcachefs: move.c exports, refactoring
Prep work for the new rebalance code - we need a few helpers exported.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/rebalance.c')
-rw-r--r-- | fs/bcachefs/rebalance.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c index 568f1e8e7507..92403fa79f1f 100644 --- a/fs/bcachefs/rebalance.c +++ b/fs/bcachefs/rebalance.c @@ -254,8 +254,7 @@ static int bch2_rebalance_thread(void *arg) rebalance_work_reset(c); bch2_move_data(c, - 0, POS_MIN, - BTREE_ID_NR, POS_MAX, + BBPOS_MIN, BBPOS_MAX, /* ratelimiting disabled for now */ NULL, /* &r->pd.rate, */ &move_stats, |