bcachefs: Consolidate btree id properties
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 21 Jul 2023 09:38:45 +0000 (05:38 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:09 +0000 (17:10 -0400)
commite8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9
treef55fb22cef81b008c3e778adaf77e3988b16f956
parent85beefefd2f8c0d8fa0a93660b0a1676073c57dc
bcachefs: Consolidate btree id properties

This refactoring centralizes defining per-btree properties.

bch2_key_types_allowed was also about to overflow a u32, so expand that
to a u64.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/bkey_methods.c
fs/bcachefs/btree_gc.h
fs/bcachefs/btree_types.h
fs/bcachefs/opts.c