]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/ec_types.h
New upstream snapshot
[bcachefs-tools-debian] / libbcachefs / ec_types.h
index 3fc31222459a81fd92ec2fbdc1225d5bf9bedbfe..edd93da663c1f50b110ee764aa6df1290aa6c687 100644 (file)
@@ -21,6 +21,15 @@ struct stripe {
        unsigned                alive:1; /* does a corresponding key exist in stripes btree? */
        unsigned                on_heap:1;
        u8                      blocks_nonempty;
+};
+
+struct gc_stripe {
+       u16                     sectors;
+
+       u8                      nr_blocks;
+       u8                      nr_redundant;
+
+       unsigned                alive:1; /* does a corresponding key exist in stripes btree? */
        u16                     block_sectors[BCH_BKEY_PTRS_MAX];
        struct bch_extent_ptr   ptrs[BCH_BKEY_PTRS_MAX];