Die Gute Nachricht kurz vor Schluss In anderen Bereichen funktioniert das Upstreaming harmonischer: commit 7ad3bd1293fff362f5c66ebce48387cfce4f436c Author: imp Date: Tue Sep 12 23:46:33 2017 +0000 cam iosched: Limit the quanta default to hz if it's below 200 The cam_iosched_ticker() can't be scheduled more than once per tick. Some limiters depend on quanta matching the number of calls per second to enforce the proper limits. Limit the quanta to no faster than 1 per clock tick. This fixes some features when running in VMs where the default HZ is 100. PR: 221953 Obtained from: ElectroBSD Differential Revision: https://reviews.freebsd.org/D12337 Submitted by: Fabian Keil Notes: svn path=/head/; revision=323511 diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c index 422096796d51..52e1092dd183 100644 --- a/sys/cam/cam_iosched.c +++ b/sys/cam/cam_iosched.c @@ -1022,7 +1022,7 @@ cam_iosched_init(struct cam_iosched_softc **iscp, struct cam_periph *periph) bioq_init(&(*iscp)->write_queue); (*iscp)->read_bias = 100; (*iscp)->current_read_bias = 100; - (*iscp)->quanta = 200; + (*iscp)->quanta = min(hz, 200); [...]