Skip to content
Commit f54b2a80 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix misaligned bucket check in journal space calculations



Fix an assertion pop in the tiering_misaligned test: rounding down to
bucket size at the end of the journal space calculations leaves
cur_entry_sectors == 0, which is incorrect with !cur_entry_err.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 813825d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment