1 #ifndef _BCACHEFS_EC_TYPES_H
2 #define _BCACHEFS_EC_TYPES_H
4 #include <linux/llist.h>
6 #define EC_STRIPE_MAX 16
8 struct bch_replicas_padded {
9 struct bch_replicas_entry e;
10 u8 pad[EC_STRIPE_MAX];
25 u16 block_sectors[EC_STRIPE_MAX];
27 struct bch_replicas_padded r;
30 struct ec_stripe_heap_entry {
32 unsigned blocks_nonempty;
35 typedef HEAP(struct ec_stripe_heap_entry) ec_stripes_heap;
37 #endif /* _BCACHEFS_EC_TYPES_H */