aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/regulator.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-07-07 17:54:31 +0000
committerKent Overstreet <[email protected]>2025-07-07 22:19:30 +0000
commit74f3931a1bfea5822e8953a15c8ebc587dc6b4bc (patch)
tree1ca45754c979333c3f6e98b06c04d7ba62865c95 /rust/helpers/regulator.c
parentbcachefs: Don't schedule non persistent passes persistently (diff)
downloadkernel-74f3931a1bfea5822e8953a15c8ebc587dc6b4bc.tar.gz
kernel-74f3931a1bfea5822e8953a15c8ebc587dc6b4bc.zip
bcachefs: Fix additional misalignment in journal space calculations
Additional fix on top of f54b2a80d0df bcachefs: Fix misaligned bucket check in journal space calculations Make sure that when we calculate space for the next entry it's not misaligned: we need to round_down() to filesystem block size in multiple places (next entry size calculation as well as total space available). Reported-by: OndÅ™ej Kraus <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions