[Bug 251803] rctl -a user:test:readiops:throttle=0/user crash the system
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 26 03:56:58 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251803
--- Comment #7 from commit-hook at FreeBSD.org ---
A commit in branch stable/12 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=70cdab054c8ffe7f5561ab8f31db33ee62d12c9c
commit 70cdab054c8ffe7f5561ab8f31db33ee62d12c9c
Author: Jason A. Harmening <jah at FreeBSD.org>
AuthorDate: 2020-12-30 23:29:44 +0000
Commit: Jason A. Harmening <jah at FreeBSD.org>
CommitDate: 2021-01-26 03:57:44 +0000
rctl(4): support throttling resource usage to 0
For rate-based resources that support throttling (e.g.
readiops/writeips), this fixes a divide-by-zero panic when rctl(8)
passes 0 as the throttle value. For these resources, treat
zero-throttle requests as requests to suspend forward progress as long
as possible using the duration specified in
kern.racct.rctl.throttle_max.
PR: 251803
Reported by: chris at cretaforce.gr
(cherry picked from commit e8a5a1ad7154dc34e3a5234267e19faa86d5ff33)
sys/kern/kern_rctl.c | 5 +++++
1 file changed, 5 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list