HomeFreeBSD

Overflowing refreservation is bad

Description

Overflowing refreservation is bad

Someone came to me and pointed out that you could pretty
readily cause the refreservation calculation to exceed
264, given the 217 multiplier in it, and produce
refreservations wildly less than the actual volsize in cases where
it should have failed.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #15996

Details

Provenance
rincebrain_gmail.comAuthored on Apr 29 2024, 6:32 PM
GitHub <noreply@github.com>Committed on Apr 29 2024, 6:32 PM
Parents
rG4840f023afae: GCC: Fixes for gcc 14 on Fedora 40
Branches
Unknown
Tags
Unknown