diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-01-23 15:49:44 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-01-23 15:53:32 -0500 |
commit | 35fca2f044d375b1590f499cfd34bef38ca0f8f1 (patch) | |
tree | c3906079fe4de190de30690bd2725e4bb0a28b0a /libbcachefs/ec_types.h | |
parent | 1c50d258e3462cd0e0f76570685092910fc11873 (diff) |
Update bcachefs sources to 99750eab4d bcachefs: Persist stripe blocks_used
Diffstat (limited to 'libbcachefs/ec_types.h')
-rw-r--r-- | libbcachefs/ec_types.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbcachefs/ec_types.h b/libbcachefs/ec_types.h index 44c5d382..b4d37705 100644 --- a/libbcachefs/ec_types.h +++ b/libbcachefs/ec_types.h @@ -19,9 +19,10 @@ struct stripe { u8 nr_blocks; u8 nr_redundant; - u8 alive; - atomic_t blocks_nonempty; - atomic_t block_sectors[EC_STRIPE_MAX]; + unsigned alive:1; + unsigned dirty:1; + u8 blocks_nonempty; + u16 block_sectors[EC_STRIPE_MAX]; struct bch_replicas_padded r; }; |