• Kent Overstreet's avatar
    bcachefs: bkey_ops.min_val_size · 174f930b
    Kent Overstreet authored
    This adds a new field to bkey_ops for the minimum size of the value,
    which standardizes that check and also enforces the new rule (previously
    done somewhat ad-hoc) that we can extend value types by adding new
    fields on to the end.
    
    To make that work we do _not_ initialize min_val_size with sizeof,
    instead we initialize it to the size of the first version of those
    values.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    174f930b
quota.h 1.9 KB