bcachefs: Assert that btree write buffer only touches the right btrees
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 24 Dec 2024 21:57:24 +0000 (16:57 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Jan 2025 04:38:41 +0000 (23:38 -0500)
commitcb3f34982c9dfccf1aadde4e69043c7da3107c92
tree0357d9f89e7293d5a0708f170a39c609f6071be6
parentbdedae70f51f570381095a59740d6a9df1262668
bcachefs: Assert that btree write buffer only touches the right btrees

More asserts, more better.

Also, clean up the per-btree flags a bit.

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