1 #ifndef _BCACHEFS_EC_TYPES_H
2 #define _BCACHEFS_EC_TYPES_H
4 #include <linux/llist.h>
6 #define EC_STRIPE_MAX 16
19 atomic_t blocks_nonempty;
20 atomic_t block_sectors[EC_STRIPE_MAX];
23 struct ec_stripe_heap_entry {
25 unsigned blocks_nonempty;
28 typedef HEAP(struct ec_stripe_heap_entry) ec_stripes_heap;
30 #endif /* _BCACHEFS_EC_TYPES_H */