diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 02:54:47 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 13:27:11 -0500 |
commit | 8d52ba60c4dccbf5d45db70f41b82b18c38059bd (patch) | |
tree | ea97f296bd94f0ba783a81e91a6f1d80e2f6df39 /fs/bcachefs/extents_format.h | |
parent | b2fa1b633bac0c3b2d04ae00e8801414d251aace (diff) | |
download | linux-stable-8d52ba60c4dccbf5d45db70f41b82b18c38059bd.tar.gz linux-stable-8d52ba60c4dccbf5d45db70f41b82b18c38059bd.tar.bz2 linux-stable-8d52ba60c4dccbf5d45db70f41b82b18c38059bd.zip |
bcachefs: reflink_format.h
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents_format.h')
-rw-r--r-- | fs/bcachefs/extents_format.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/bcachefs/extents_format.h b/fs/bcachefs/extents_format.h index 939d09f9d3b8..3bd2fdbb0817 100644 --- a/fs/bcachefs/extents_format.h +++ b/fs/bcachefs/extents_format.h @@ -279,4 +279,17 @@ struct bch_extent { #define BKEY_BTREE_PTR_U64s_MAX \ (BKEY_U64s + BKEY_BTREE_PTR_VAL_U64s_MAX) +struct bch_reservation { + struct bch_val v; + + __le32 generation; + __u8 nr_replicas; + __u8 pad[3]; +} __packed __aligned(8); + +struct bch_inline_data { + struct bch_val v; + u8 data[]; +}; + #endif /* _BCACHEFS_EXTENTS_FORMAT_H */ |