Lines Matching refs:rebalance
202 struct bch_fs_rebalance *r = &trans->c->rebalance; in do_rebalance_extent()
277 struct bch_fs_rebalance *r = &trans->c->rebalance; in do_rebalance_scan()
303 struct bch_fs_rebalance *r = &c->rebalance; in rebalance_wait()
326 struct bch_fs_rebalance *r = &c->rebalance; in do_rebalance()
392 struct bch_fs_rebalance *r = &c->rebalance; in bch2_rebalance_thread()
411 struct bch_fs_rebalance *r = &c->rebalance; in bch2_rebalance_status_to_text()
449 c->rebalance.pd.rate.rate = UINT_MAX; in bch2_rebalance_stop()
450 bch2_ratelimit_reset(&c->rebalance.pd.rate); in bch2_rebalance_stop()
452 p = rcu_dereference_protected(c->rebalance.thread, 1); in bch2_rebalance_stop()
453 c->rebalance.thread = NULL; in bch2_rebalance_stop()
469 if (c->rebalance.thread) in bch2_rebalance_start()
482 rcu_assign_pointer(c->rebalance.thread, p); in bch2_rebalance_start()
489 bch2_pd_controller_init(&c->rebalance.pd); in bch2_fs_rebalance_init()