]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Allocator now copes with unaligned buckets
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 21 Apr 2025 22:37:12 +0000 (18:37 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 21 Apr 2025 23:36:45 +0000 (19:36 -0400)
commit4ede80a9a860968f9e63c6b9262683d3139194e0
tree53d382265e3e52eab045ef141b7fe5a84e26e712
parent387df331298eaa9d6dbb4e30f376d632dd798b46
bcachefs: Allocator now copes with unaligned buckets

We had a buggy release of bcachefs-tools that wasn't properly aligning
bucket sizes.

We can't ask users to reformat - and it's easy to teach the allocator to
make sure writes are properly aligned.

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