summaryrefslogtreecommitdiff
path: root/fs/bcachefs/alloc_background_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/alloc_background_format.h')
-rw-r--r--fs/bcachefs/alloc_background_format.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/bcachefs/alloc_background_format.h b/fs/bcachefs/alloc_background_format.h
index b4ec20be93b8..740238369a5a 100644
--- a/fs/bcachefs/alloc_background_format.h
+++ b/fs/bcachefs/alloc_background_format.h
@@ -58,7 +58,7 @@ LE32_BITMASK(BCH_ALLOC_V3_NEED_INC_GEN,struct bch_alloc_v3, flags, 1, 2)
struct bch_alloc_v4 {
struct bch_val v;
- __u64 journal_seq;
+ __u64 journal_seq_nonempty;
__u32 flags;
__u8 gen;
__u8 oldest_gen;
@@ -69,7 +69,10 @@ struct bch_alloc_v4 {
__u64 io_time[2];
__u32 stripe;
__u32 nr_external_backpointers;
- __u64 fragmentation_lru;
+ /* end of fields in original version of alloc_v4 */
+ __u64 journal_seq_empty;
+ __u32 stripe_sectors;
+ __u32 pad;
} __packed __aligned(8);
#define BCH_ALLOC_V4_U64s_V0 6