]> git.sesse.net Git - bcachefs-tools-debian/blob - libbcachefs/ec_format.h
Disable pristine-tar option in gbp.conf, since there is no pristine-tar branch.
[bcachefs-tools-debian] / libbcachefs / ec_format.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_EC_FORMAT_H
3 #define _BCACHEFS_EC_FORMAT_H
4
5 struct bch_stripe {
6         struct bch_val          v;
7         __le16                  sectors;
8         __u8                    algorithm;
9         __u8                    nr_blocks;
10         __u8                    nr_redundant;
11
12         __u8                    csum_granularity_bits;
13         __u8                    csum_type;
14         __u8                    pad;
15
16         struct bch_extent_ptr   ptrs[];
17 } __packed __aligned(8);
18
19 #endif /* _BCACHEFS_EC_FORMAT_H */