diff options
Diffstat (limited to 'libbcachefs/rebalance.h')
-rw-r--r-- | libbcachefs/rebalance.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbcachefs/rebalance.h b/libbcachefs/rebalance.h index 28a52638..0a0821ab 100644 --- a/libbcachefs/rebalance.h +++ b/libbcachefs/rebalance.h @@ -2,8 +2,18 @@ #ifndef _BCACHEFS_REBALANCE_H #define _BCACHEFS_REBALANCE_H +#include "compress.h" +#include "disk_groups.h" #include "rebalance_types.h" +u64 bch2_bkey_sectors_need_rebalance(struct bch_fs *, struct bkey_s_c); +int bch2_bkey_set_needs_rebalance(struct bch_fs *, struct bch_io_opts *, struct bkey_i *); +int bch2_get_update_rebalance_opts(struct btree_trans *, + struct bch_io_opts *, + struct btree_iter *, + struct bkey_s_c); + +int bch2_set_rebalance_needs_scan_trans(struct btree_trans *, u64); int bch2_set_rebalance_needs_scan(struct bch_fs *, u64 inum); int bch2_set_fs_needs_rebalance(struct bch_fs *); |