• Kent Overstreet's avatar
    bcachefs: BCH_COMPAT_bformat_overflow_done no longer required · e08e63e4
    Kent Overstreet authored
    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>
    e08e63e4
bkey.c 25.3 KB