1 #ifndef _BCACHEFS_EXTENTS_TYPES_H
2 #define _BCACHEFS_EXTENTS_TYPES_H
4 #include "bcachefs_format.h"
6 struct bch_extent_crc_unpacked {
11 u16 uncompressed_size;
21 struct extent_ptr_decoded {
24 struct bch_extent_crc_unpacked crc;
25 struct bch_extent_ptr ptr;
26 struct bch_extent_stripe_ptr ec[4];
29 struct bch_io_failures {
31 struct bch_dev_io_failures {
36 } devs[BCH_REPLICAS_MAX];
39 #endif /* _BCACHEFS_EXTENTS_TYPES_H */