Commit e08e63e4 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: BCH_COMPAT_bformat_overflow_done no longer required



Awhile back, we changed bkey_format generation to ensure that the packed
representation could never represent fields larger than the unpacked
representation.

This was to ensure that bkey_packed_successor() always gave a sensible
result, but in the current code bkey_packed_successor() is only used in
a debug assertion - not for anything important.

This kills the requirement that we've gotten rid of those weird bkey
formats, and instead changes the assertion to check if we're dealing
with an old weird bkey format.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 58705da6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment