[Bug 251803] rctl -a user:test:readiops:throttle=0/user crash the system
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 18 23:57:02 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251803
--- Comment #2 from Jason A. Harmening <jah at FreeBSD.org> ---
Looks like rctl_enforce() is blowing up when it tries to scale the throttle
timeout according to the specified limit, which in this case produces division
by zero.
In general, it doesn't seem like attempting to throttle resource usage to 0
makes sense; it seems like this should instead be treated as a request to deny
the resource and checked as such.
Can you try the attached patch?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list