Loading fs/bcachefs/bcachefs_format.h +1 −16 Original line number Diff line number Diff line Loading @@ -720,22 +720,6 @@ struct bch_backpointer { struct bpos pos; } __packed __aligned(8); /* Erasure coding */ struct bch_stripe { struct bch_val v; __le16 sectors; __u8 algorithm; __u8 nr_blocks; __u8 nr_redundant; __u8 csum_granularity_bits; __u8 csum_type; __u8 pad; struct bch_extent_ptr ptrs[]; } __packed __aligned(8); /* Reflink: */ struct bch_reflink_p { Loading Loading @@ -835,6 +819,7 @@ struct bch_sb_field { x(downgrade, 14) #include "alloc_background_format.h" #include "ec_format.h" #include "inode_format.h" #include "dirent_format.h" #include "xattr_format.h" Loading fs/bcachefs/ec_format.h 0 → 100644 +19 −0 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BCACHEFS_EC_FORMAT_H #define _BCACHEFS_EC_FORMAT_H struct bch_stripe { struct bch_val v; __le16 sectors; __u8 algorithm; __u8 nr_blocks; __u8 nr_redundant; __u8 csum_granularity_bits; __u8 csum_type; __u8 pad; struct bch_extent_ptr ptrs[]; } __packed __aligned(8); #endif /* _BCACHEFS_EC_FORMAT_H */ Loading
fs/bcachefs/bcachefs_format.h +1 −16 Original line number Diff line number Diff line Loading @@ -720,22 +720,6 @@ struct bch_backpointer { struct bpos pos; } __packed __aligned(8); /* Erasure coding */ struct bch_stripe { struct bch_val v; __le16 sectors; __u8 algorithm; __u8 nr_blocks; __u8 nr_redundant; __u8 csum_granularity_bits; __u8 csum_type; __u8 pad; struct bch_extent_ptr ptrs[]; } __packed __aligned(8); /* Reflink: */ struct bch_reflink_p { Loading Loading @@ -835,6 +819,7 @@ struct bch_sb_field { x(downgrade, 14) #include "alloc_background_format.h" #include "ec_format.h" #include "inode_format.h" #include "dirent_format.h" #include "xattr_format.h" Loading
fs/bcachefs/ec_format.h 0 → 100644 +19 −0 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BCACHEFS_EC_FORMAT_H #define _BCACHEFS_EC_FORMAT_H struct bch_stripe { struct bch_val v; __le16 sectors; __u8 algorithm; __u8 nr_blocks; __u8 nr_redundant; __u8 csum_granularity_bits; __u8 csum_type; __u8 pad; struct bch_extent_ptr ptrs[]; } __packed __aligned(8); #endif /* _BCACHEFS_EC_FORMAT_H */