diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-12-22 20:37:52 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-12-23 00:51:17 -0500 |
commit | 14117dcdfb3942d08f8c6446aae9df9f8d2e42db (patch) | |
tree | 52943d664e2e820bc404da8860ae98cfe1830d8b /libbcachefs/super-io.h | |
parent | da37a5f2043c9e7c90168eea88b326d40734567a (diff) |
Update bcachefs sources to 2afdc642c2 bcachefs: kill bucket_data_type, improve disk usage stats
Diffstat (limited to 'libbcachefs/super-io.h')
-rw-r--r-- | libbcachefs/super-io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbcachefs/super-io.h b/libbcachefs/super-io.h index 4096efb2..acf3a83d 100644 --- a/libbcachefs/super-io.h +++ b/libbcachefs/super-io.h @@ -127,11 +127,16 @@ void bch2_write_super(struct bch_fs *); bool bch2_sb_has_replicas(struct bch_fs *, struct bkey_s_c_extent, enum bch_data_type); +bool bch2_sb_has_replicas_devlist(struct bch_fs *, struct bch_devs_list *, + enum bch_data_type); int bch2_check_mark_super(struct bch_fs *, struct bkey_s_c_extent, enum bch_data_type); int bch2_check_mark_super_devlist(struct bch_fs *, struct bch_devs_list *, enum bch_data_type); +int bch2_cpu_replicas_to_text(struct bch_replicas_cpu *, char *, size_t); +int bch2_sb_replicas_to_text(struct bch_sb_field_replicas *, char *, size_t); + struct replicas_status { struct { unsigned nr_online; |