diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-03-20 23:55:36 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:54 -0400 |
commit | e01dacf76c0c6a5fc6963b7857773b3d58740acb (patch) | |
tree | 6fd41c33ecef8708c2d1732cc68ad835475cfc2a /fs/bcachefs/bcachefs_format.h | |
parent | a4805d6672aac04784af132f0e11ac1dfb208079 (diff) | |
download | lwn-e01dacf76c0c6a5fc6963b7857773b3d58740acb.tar.gz lwn-e01dacf76c0c6a5fc6963b7857773b3d58740acb.zip |
bcachefs: Fix bkey format generation for 32 bit fields
Having a packed format that can represent a field larger than the
unpacked type breaks bkey_packed_successor() assertions - we need to fix this to start using the snapshot filed.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r-- | fs/bcachefs/bcachefs_format.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h index e2df0f7182b4..0a615fe6c1c1 100644 --- a/fs/bcachefs/bcachefs_format.h +++ b/fs/bcachefs/bcachefs_format.h @@ -1371,9 +1371,10 @@ enum bch_sb_feature { }; enum bch_sb_compat { - BCH_COMPAT_FEAT_ALLOC_INFO = 0, - BCH_COMPAT_FEAT_ALLOC_METADATA = 1, + BCH_COMPAT_FEAT_ALLOC_INFO = 0, + BCH_COMPAT_FEAT_ALLOC_METADATA = 1, BCH_COMPAT_FEAT_EXTENTS_ABOVE_BTREE_UPDATES_DONE = 2, + BCH_COMPAT_FEAT_BFORMAT_OVERFLOW_DONE = 3, }; /* options: */ |