]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Fix allocating too big journal entry
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 3 Dec 2024 04:36:38 +0000 (23:36 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:21 +0000 (01:36 -0500)
commit9c22dd02ae8b80bf662ab409091731cfb9a09348
tree87b34338564b30c7cf792c2154c58d3caf2a83f9
parent5cdaec193a85e32235e7dccb95c085acc50b8dbd
bcachefs: Fix allocating too big journal entry

The "journal space available" calculations didn't take into account
mismatched bucket sizes; we need to take the minimum space available out
of our devices.

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