diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-10 13:32:35 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-10 13:32:35 -0500 |
commit | 55e3496d06c9b112f93bb1dea942564f900c2f7d (patch) | |
tree | 4c3a7a330bbf2e92af59f66f11e6a86e38e52003 /libbcachefs/ec_types.h | |
parent | 99b12cd3a4cdd19985624b79a8c54716cad649bd (diff) |
Rename --group to --label
Disk labels used to be called groups - not all uses had been converted.
This renames --group to --label, and --label to --fs_label
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'libbcachefs/ec_types.h')
-rw-r--r-- | libbcachefs/ec_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbcachefs/ec_types.h b/libbcachefs/ec_types.h index 3fc31222..d9623ba6 100644 --- a/libbcachefs/ec_types.h +++ b/libbcachefs/ec_types.h @@ -21,6 +21,16 @@ 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 algorithm; + + 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]; |