bcachefs: Kill struct bucket_mark
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 14 Feb 2022 05:07:38 +0000 (00:07 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:29 +0000 (17:09 -0400)
commit66d90823857ed9196ef52361518ab703e468c53b
treeacebc578be81944928e7e01b2e3a9fbbdf95732c
parent5735608c14e791c10ebcb6a20fab1c8fa4cf3123
bcachefs: Kill struct bucket_mark

This switches struct bucket to using a lock, instead of cmpxchg. And now
that the protected members no longer need to fit into a u64, we can
expand the sector counts to 32 bits.

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