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/alloc_types.h | |
parent | 1c50d258e3462cd0e0f76570685092910fc11873 (diff) |
Update bcachefs sources to 99750eab4d bcachefs: Persist stripe blocks_used
Diffstat (limited to 'libbcachefs/alloc_types.h')
-rw-r--r-- | libbcachefs/alloc_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbcachefs/alloc_types.h b/libbcachefs/alloc_types.h index 6f17f094..66457fc7 100644 --- a/libbcachefs/alloc_types.h +++ b/libbcachefs/alloc_types.h @@ -55,9 +55,10 @@ struct open_bucket { spinlock_t lock; atomic_t pin; u8 freelist; - bool valid; - bool on_partial_list; u8 ec_idx; + u8 type; + unsigned valid:1; + unsigned on_partial_list:1; unsigned sectors_free; struct bch_extent_ptr ptr; struct ec_stripe_new *ec; |