1 #ifndef _BCACHEFS_REBALANCE_TYPES_H
2 #define _BCACHEFS_REBALANCE_TYPES_H
4 #include "move_types.h"
12 struct bch_fs_rebalance {
13 struct task_struct __rcu *thread;
14 struct bch_pd_controller pd;
16 atomic64_t work_unknown_dev;
18 enum rebalance_state state;
19 unsigned long throttled_until_iotime;
20 unsigned long throttled_until_cputime;
21 struct bch_move_stats move_stats;
26 #endif /* _BCACHEFS_REBALANCE_TYPES_H */