projects
/
releases.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
GNU Linux-libre 6.8.9-gnu
[releases.git]
/
fs
/
bcachefs
/
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 */