linux/fs/bcachefs
Kent Overstreet 174f930b8e bcachefs: bkey_ops.min_val_size
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: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:10:00 -04:00
..
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:31 -04:00
2023-10-22 17:09:53 -04:00
2023-10-22 17:09:55 -04:00
2023-10-22 17:09:51 -04:00
2023-10-22 17:09:57 -04:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:54 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:09:59 -04:00
2023-10-22 17:08:59 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:57 -04:00
2023-10-22 17:09:56 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:51 -04:00
2023-10-22 17:09:56 -04:00
2023-10-22 17:09:49 -04:00
2023-10-22 17:09:33 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:50 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:51 -04:00
2023-10-22 17:09:59 -04:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:09:25 -04:00
2023-10-22 17:10:00 -04:00
2023-10-22 17:10:00 -04:00