diff options
Diffstat (limited to 'fs/bcachefs/ec_types.h')
-rw-r--r-- | fs/bcachefs/ec_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/bcachefs/ec_types.h b/fs/bcachefs/ec_types.h index a3216ca01913..e416dac7ee19 100644 --- a/fs/bcachefs/ec_types.h +++ b/fs/bcachefs/ec_types.h @@ -6,6 +6,11 @@ #define EC_STRIPE_MAX 16 +struct bch_replicas_padded { + struct bch_replicas_entry e; + u8 pad[EC_STRIPE_MAX]; +}; + struct stripe { size_t heap_idx; @@ -18,6 +23,8 @@ struct stripe { u8 alive; atomic_t blocks_nonempty; atomic_t block_sectors[EC_STRIPE_MAX]; + + struct bch_replicas_padded r; }; struct ec_stripe_heap_entry { |