File tree Expand file tree Collapse file tree 2 files changed +20
-16
lines changed
Expand file tree Collapse file tree 2 files changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -720,22 +720,6 @@ struct bch_backpointer {
720720 struct bpos pos ;
721721} __packed __aligned (8 );
722722
723- /* Erasure coding */
724-
725- struct bch_stripe {
726- struct bch_val v ;
727- __le16 sectors ;
728- __u8 algorithm ;
729- __u8 nr_blocks ;
730- __u8 nr_redundant ;
731-
732- __u8 csum_granularity_bits ;
733- __u8 csum_type ;
734- __u8 pad ;
735-
736- struct bch_extent_ptr ptrs [];
737- } __packed __aligned (8 );
738-
739723/* Reflink: */
740724
741725struct bch_reflink_p {
@@ -835,6 +819,7 @@ struct bch_sb_field {
835819 x(downgrade, 14)
836820
837821#include "alloc_background_format.h"
822+ #include "ec_format.h"
838823#include "inode_format.h"
839824#include "dirent_format.h"
840825#include "xattr_format.h"
Original file line number Diff line number Diff line change 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 */
You can’t perform that action at this time.
0 commit comments