1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_EXTENTS_TYPES_H
3 #define _BCACHEFS_EXTENTS_TYPES_H
5 #include "bcachefs_format.h"
7 struct bch_extent_crc_unpacked
{
22 struct extent_ptr_decoded
{
25 struct bch_extent_crc_unpacked crc
;
26 struct bch_extent_ptr ptr
;
27 struct bch_extent_stripe_ptr ec
;
30 struct bch_io_failures
{
32 struct bch_dev_io_failures
{
37 } devs
[BCH_REPLICAS_MAX
];
40 #endif /* _BCACHEFS_EXTENTS_TYPES_H */